Plotting is one of the fundamental tool of the modern Data Scientist.
Simple plots are made easy using the .plot() from the Pandas library
You will also need to use the matplotlib library
Installing Pandas and Matplotlib
Pandas do have a little charting library in his toolbox. But will require matplotlib if you want to show it if you are running it from a script.
Here is the simplest example :
You can pass quite a lot of paremeters to the .plot() method.
- A title as title="My amazing title"
- xlabel as xlabel="x"
- ylabel as ylabel="y"
- Logarithmic scale as in ylog=True
- the type of chart as in kind="line"
Like so :
Here you go ! You know how to make a basic plot in Python