From 8832944cc45c6de83f05b4920f0da2feb5bdbf1a Mon Sep 17 00:00:00 2001 From: Somoye Christopher Adedeji <61905983+chris-netizen@users.noreply.github.com> Date: Tue, 6 Sep 2022 23:00:58 +0000 Subject: [PATCH] Update analysis.py I added comments to the code, for new comers to better understand the written code. --- analysis.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/analysis.py b/analysis.py index bd7a125..cf8d579 100644 --- a/analysis.py +++ b/analysis.py @@ -1,6 +1,10 @@ +#The pandas library was imported into the work space for us, as pd(for easy use) import pandas as pd +#The pandas read_csv command helps to read csv files, +#There are other commands depending on the file type... poke = pd.read_csv('pokemon_data.csv') +#This code checks the last 5 rows of the pandas dataframe. print(poke.tail(5))