I have a data frame called that looks like this.
It is called p1plot1:
0
0 139245
1 125395
2 116835
3 85170
4 58075
5 40050
I want to create a bar plot with the integers on the x axis and the values on the y axis. I tried using:
p1plot1.plot(kind='bar')
And got the output:
<matplotlib.axes.AxesSubplot object at 0x1fec7ca10>
How do I get an actual image file with the plot? Was I supposed to import something?