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"
- the type of chart here wen have kind="bar" default is line
Like so :
Here you go ! You know how to make a basic bar plot in Python