Please just provide the code and functions I will applied to the data. Thank Please make sure that you upload the.py fil

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Please just provide the code and functions I will applied to the data. Thank Please make sure that you upload the.py fil

Post by answerhappygod »

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. )
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply