Please just provide the code and functions I will applied to thedata. Thank
Please make sure that you upload the.py file to Canvas andprovide a link to your GitHub repository where you need to uploadyour .ipynb (Python Noteboo.
Use pandas to read the olympic_medals.csv from theDATAfolderonGoogleDrive. Then perform the followings by usingpandas and/or Python built-in functions.
(a) Find the size of the data frame. How many rows, howmany columns?
(b) Use the appropriate function to report the data typesfor all columns.
(c) Find how many unique cities matches were heldat.(Hint:unique().For instance, the following example tells howmany unique Events held:)
(d) Find how many medals the USA team won in total.
(e) Find the total number of medals for each Nationality.(Hint: please search for groupby() functionwith count. For instance, the following example counts at howmany locations each event was held. )
Please just provide the code and functions I will applied to the data. Thank Please make sure that you upload the.py fil
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am