Page 339 - Informatics_Practices_Fliipbook_Class12
P. 339

Project





                                                 OlympicGames Analysis

            Introduction
            The modern Olympic Games are leading international sporting events featuring summer and winter sports competitions
            in which thousands of athletes from around the world participate in a variety of competitions. The Olympic Games
            are considered the world's foremost sports competition, with more than 200 nations participating. The Olympic
            Games are normally held every four years, alternating between the Summer and Winter Games every two years in the
            four-year period.
            India finished in 4th place in the medal tally at the 2022 Commonwealth Games by winning 22 gold medals (61 medals
            in total—16 silver and 23 bronze medals). This is one of India's best performances in the Commonwealth Games. In
            this historic performance, 12 LPU students and alumni won medals for India.

            Name and Contents of CSV file used
            data.csv

            Sl. No.,NameofEvent,Nameofsportsperson (Ms/Shri/Smt.),Category,Medalwon,Cashprize

            1,"Olympic Games, 2012",Vijay Kumar,Shooting,Silver,3000000
            2,"Olympic Games, 2012",Sushil Kumar,Wrestling,Silver,3000000
            3,"Olympic Games, 2012",Gagan Narang,Shooting,Bronze,2000000

            4,"Olympic Games, 2012",Ms Saina Nehwal,Badminton,Bronze,2000000
            5,"Olympic Games, 2012",Ms Mary Kom,Boxing,Bronze,2000000
            6,"Olympic Games, 2012",Yogeshwar Dutt,Wresting,Bronze,2000000
            7,"Paralympic Games, 2012",Girisha,Athletics,Silver,3000000

            8,"Olympic Games, 2016",Ms P.V. Sindhu,Badminton,Silver,5000000
            9,"Olympic Games, 2016",Ms Sakshi Malik,Wrestling,Bronze,3000000

            10,"Paralympic Games, 2016",Mariyappan,Athletics,Gold,7500000
            11,"Paralympic Games, 2016",Devendra Jhajharia,Athletics,Gold,7500000
            12,"Paralympic Games, 2016",Ms Deepa Malik,Athletics,Silver,5000000
            13,"Paralympic Games, 2016",Varun Singh Bhati,Athletics,Bronze,3000000

            14,"Tokyo Olympics, 2020",Neeraj Chopra,Athletics,Gold,7500000
            15,"Tokyo Olympics, 2020",Ms Saikhom Mirabai,Weight-lifting,Silver,5000000
            Source Code

            import matplotlib.pyplot as plt
            import pandas as pd

            import numpy as np


            def mainMenu():

                menu = '''


                                                                                                       Project   325
   334   335   336   337   338   339   340   341   342   343   344