Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update analysis.py #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions analysis.py
Original file line number Diff line number Diff line change
@@ -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))