Presentation is loading. Please wait.

Presentation is loading. Please wait.

Matplotlib and Pandas 2018-06-11.

Similar presentations


Presentation on theme: "Matplotlib and Pandas 2018-06-11."— Presentation transcript:

1 Matplotlib and Pandas

2 Matplotlib & Pandas Requires NumPy extension.
Provides powerful plotting commands. Matplotlib Official Website Pandas Official website

3 Matplotlib & Pandas Website: https://matplotlib.org
Getting Matplotlib: Getting Pandas: Installing Packages

4 matplotlib.pyplot A collection of command style functions that make matplotlib work like MATLAB. Each pyplot function makes some change to a figure. For instance, creates a figure, creates a plotting area in a figure, plots some lines in a plotting area, decorates the plot with labels, etc.

5 matplotlib.pyplot import matplotlib.pyplot as plt plt.plot([1,2,3,4])
plt.ylabel('some numbers') plt.show() See link:

6 Matplotlib Try examples from this site:
Line chart Histogram Bar chart Pie chart Legend Matplotlib save figure to image Matplotlib update plot Plot time with Matplot Generate heatmap in matplotlib Scatterplot 3d scatterplot Subplot Matrix correlation Try examples from this site:

7 Pandas Python Data Analysis Library pandas is an open source, BSD-licensed library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming language. 10 Minutes to pandas: Pandas Basics (in Chinese):

8 Hands On Forest Fires Data Set
Dataset: forestfires.csv Explanation of the data: forestfires-names.txt Reference:


Download ppt "Matplotlib and Pandas 2018-06-11."

Similar presentations


Ads by Google