Make sure to keep the below packages updated and execute the pip's on your local system.

pip install pandas==1.1.2
pip install openpyxl==3.0.5
pip install xlrd==1.2.0
pip install hypothesis
pip install jupyterlab==3.0.0b4
pip install bottleneck
pip install numexpr
pip install python-dateutil
pip install pytz
pip install NumPy
pip install setuptools
pip install pytest
pip install BeautifulSoup4==4.9.1 --use-feature=2020-resolver

side notes: https://blog.python.org/2020/07/upgrade-pip-20-2-changes-20-3.html

—— Execute these commands: python -m pip install --upgrade pip, pip check and finally install your package using pip install --use-feature=2020-resolver. This will install the correct versions for the dependencies. – arun Aug 31 at 18:41</p>

——

installation dependency https://pandas.pydata.org/docs/getting_started/install.html

</div> </div> </div>
import pandas as pd
import matplotlib.pyplot as plt
air_quality = pd.read_csv("day1/data/air_quality_no2.csv",index_col=0, parse_dates=True)
air_quality.head()
station_antwerp station_paris station_london
datetime
2019-05-07 02:00:00 NaN NaN 23.0
2019-05-07 03:00:00 50.5 25.0 19.0
2019-05-07 04:00:00 45.0 27.7 19.0
2019-05-07 05:00:00 NaN 50.4 16.0
2019-05-07 06:00:00 NaN 61.9 NaN
air_quality.plot()
<matplotlib.axes._subplots.AxesSubplot at 0x7f1d215cac10>
air_quality["station_paris"].plot()
<matplotlib.axes._subplots.AxesSubplot at 0x7f1d1f4cc730>
air_quality.plot.scatter(x="station_london",y="station_paris",alpha=0.5)
<matplotlib.axes._subplots.AxesSubplot at 0x7f1d1f4a8e50>
[method_name for method_name in dir(air_quality.plot) if not method_name.startswith("_")]
['area',
 'bar',
 'barh',
 'box',
 'density',
 'hexbin',
 'hist',
 'kde',
 'line',
 'pie',
 'scatter']
air_quality.plot.box()
<matplotlib.axes._subplots.AxesSubplot at 0x7f1d1f4086a0>
axs = air_quality.plot.area(figsize=(12, 4), subplots=True)
fig, axs = plt.subplots(figsize=(12, 4));
air_quality.plot.area(ax=axs);
axs.set_ylabel("NO$_2$ concentration");
fig.savefig("no2_concentrations.png")
fig, axs = plt.subplots(figsize=(12, 4))        # Create an empty matplotlib Figure and Axes
air_quality.plot.area(ax=axs)                   # Use pandas to put the area plot on the prepared Figure/Axes
axs.set_ylabel("NO$_2$ concentration")          # Do any matplotlib customization you like
fig.savefig("no2_concentrations.png")           # Save the Figure/Axes using the existing matplotlib method.
</div>