Panda Visualization

Histogram

import matplotlib.pyplot as plt
plt.hist(traffic['Slowness in traffic (%)'])
plt.show()

A quicker way to generate the same histogram is to use the Series.plot.hist() method👍

The Pandas library has other useful visualization methods as well:

Scatter Plot

Last updated