For Histogram
xxxxxxxxxx
car_sales["Odometer (KM)"].plot(kind="hist");
xxxxxxxxxx
import pandas as pd
import matplotlib.pyplot as plt
df = pd.Dataframe(Data)
df.plot(kind='bar',x="dataframe_1",y="dataframe_2") # bar can be replaced by
# scatter or line or even left as default
plt.show()
xxxxxxxxxx
df.plot(title='Your title', kind="barh") # See documentation for other kinds like scatter, line, bar etc
plt.show()
xxxxxxxxxx
air_quality.plot.scatter(x="station_london", y="station_paris", alpha=0.5)
Out[7]: <AxesSubplot:xlabel='station_london', ylabel='station_paris'>