Swimming Athletes Project Report
Swimming Athletes Project Report
SESSION: 2024-25
INFORMATICS PRACTICES
CLASS XIIPROJECT
ON
SWIMMING ATHLETES
NAME:KHUSHYALI
[Link].: 14696616
ACKNOWLEDGEMENT
CSVFile:
Swimming Athlete Table
File Home Insert Page Layout Formulas Data Review View Developer Help 9 Search
D25
A R C H
1 Athlete Age Country Year Sport Gold Meda<s Silver Medals Bronze Medals
2 Michael Phelps 23 United States 2008 Swimming 0 0
3 Michael Phelps 19 United States 2004 Swimming 6 2
4Michael Phelps 27 United States 2012 Swimmipg 4 2
5 Natalie Coughlin 25 United States 2008 Swiprming 2 3
6 Alicia Coutts 24 Australia 2012,Swimming 3
7 Missy Franklin 17 United States 2912 Swimming 4 1
elif c h 2 :
while (True) :
Records Menu")
print ("Working on
record")
print ("l. Insert a
specific record")
print ("2. Delete a
specific record")
print ("3, Update a
print ("4. Exit")
choice") )
ch4-int (input ("Enter
if ch4 l:
Athlete name")
a-input ("Enter
b=int (input ("Enter Age:"))
c=input ("Enter Country:
")
d=int (input ("Enter Year"))
e=input ("Enter Sport ")
number of Gold Medal "))
f=int (input ("Enter
g=int (input ("Enter number
of Silver medal"))
h=int (input ("Enter number
of Bronze medal") )
[Link] [a]=[b,C, d, e, f,g, h)
inserted")
print ("Data success fully
elif ch4==2:
name whose data needs Xo be deleted")
a=input ("Enter Athlete
[Link] ( [a),inplace=True)
deleted")
print ("Data success fully
elif ch4 ==3:
name")
a-input ("Enter Athlete
b=int (input ("Enter Age:"))
c=input ("Enter Count ry:")
d=int (input ("Enter Year )
e=input ("Enter Sport ")
Gold Medal ") )
f=int (input ("Enter Aumber of
Silver medal") )
g=int (input ("Enter number of
Bron ze medal "))
h=int (input (WEnter number of
result. loc[a]= [b, c,d, e,f,g, h)
print ("Data success fully updated")
elif ch4==4:
break
e l i f ch==3:
while (True) :
Menu")
print ("Working on Columns
data")
print ("1. Insert a new column
print ("2. Delete a specific column")
print ("3. Exit")
ch5=int (input ("Enter choice") )
if ch5 ==1:
print ("Enter details")
h=input ("Enter column/heading name")
detweval (input ("Enter details corresponding to all items: (enclo
sed in [)"))
result [h] pd. Series(data=det, index=[Link])
print ("Column inserted")
elif ch52:
a=input ("Enter column name which needs to be deleted")
result. drop( [a),axis=1, inplace=False)
print ("Co lumn Temporary deleted" )
elif ch5==3:
break
elif ch==4:
while (True) :
print ("Search Menu")
print ("1. Search for the details of a specific Athlete")
print ("2. Search details of a specific as per a specific column he
ading")
print ("3. Exit")
ch6-int (input ("Enter choice"))
if ch6==1:
st=input ("Enter the Athlete name whose details you want to see")
print (result . loc [st] )
elif ch6==2:
col=input ("Enter column/heading name whose details you warnt to s
ee")
print (result [col])
elif ch6==3:
break
elif ch==5:
while (True) :
print ("Data Visuali zationMenu")
print ("1. Line Plot"))
print ("2. VerticalBar Plot")
print ("3. Horizontal Bar Plot")
print ("4. Histogram'")
print ("5. Exit")
ch7=int (input ("Enter choice") )
if ch7==1:
[Link] (kind='line')
[Link] ()
elif ch7==2 :
[Link] (kind='bar')
[Link]()
elif ch7==3:
result .plot (kind= 'barh')
[Link] ()
elif ch==4:
[Link] (kind='hist ')
[Link] ()
elif ch5:
break
else:
break
Output Screens:
5 rows
Displav Bec
1. Top5 Resords
2. Bottom 5 Records
3. Specific nunber of records from the top
4. Specific nunber of records from the bottom
5. Particul ar Detail
splay Complete details
Fnter choice2
7568 GE araiabie Age Country *.. Silver Medals Bronze Medals
211a12sapiexis clotheszs R airline xs R excel-soreacsheetxs 0 semgle csv file-forcs sample datahockey tip Show ait
[Link]
Gary Hall 3r. 25 Unisá States 1
ing
P hee ath
Dode4 Text
Fles
Enter choicee
Cosplete Details
Age Country Silver Hedals Bronze Medals
Gary Hall 3e
choice2
Fnter Athlete nane ehose data needs to be deletedt isa
Data successful ly e leted
Working on Records Renu
1. Insert a record
Delete a spec1t2c record
3. Update a specifi recore
Disk 75.68 G8 availabie
sample csv lefor. sv E sanpledatahockeyzip
S21uet2sampleats othesxh adinexs Bexcet sproadshects
1144
10-02-2021
O Type here to search
Data Success ee
1. Insert a record
B sample data 2. Delete a specific record
3. Update a specific record
README md
4. Exit
[Link] Enter choices
nge de Bruiin
anscombe json Enter Athlete namel
california housing_test.csy Enter Country: Canada
Enter Year20e8
colifomia housing_train.csv
Enter Sport Swiumi ng
nist_test.csv Enter number of Gold Medall
spe
1. Exit
7568 GA available
Enter choice3
Main Aon1s
dothsss [Link] l escel soreadsheet d sample csu fle torc wnpkedatahockey zip
21wkt2semplets
114
18 Type here to search
Prokeett ioynt Coluboratcry
colabyesarch.oo0glecom/drive/ thuSbE-gvo ovydkf lo32 ihfccorcliTo=PKuy2yor
RAM
+ Code Text Disk
E Files
Oter colunn/heading nanctest
Enter detai ls corresponding to all ites: (enclosed in [ D[8,3, 8,8,8,8,8,6,8, 8, 8,8, 8,8,8,8,5,9,9,9]
Column inserted
Workins on Columns Henu
sample_data
README md 2. Delete a specific cMunn
3. Exit
[Link] Enter choice2
needs to be deletedtest
[Link] vdeleted
P califonia_housing [Link] Working on Columns Henu
califomia_housing [Link] 1. hsert a new column data
mnisttest cev ZDelete a specifit colunn
mnistLIrain [Link] Enter choices
R playerData. csv Main Menu
1. Display Records
P [Link]
o Prortlioyrt Clatotalcry
colahreseach g00gecom/drive/thsibE-qby0 xoFwydkfHn32 hFeiesurcllo PKAeVyyernU
RAM L
4 Code + lext
EFiles
break
a Main Henu
1. Display Records
2. Working on Records
Be sanpie data 3. Working on Columns
README md
S. Data Visualizat ion
P SwinningAthletes [Link] 6. Exit
anscombe json Enter your choice4
Search Penu
P california_housing test csv for the details of a specific Athlete
california housing [Link] 2. Search details of a specific as per à specific colunn heading
3. Exit
nnist_test csy
Enter choicel
R mnist train, srnall csy Enter the Atthlete name whose details you want to seesun Vang
[Link] China
Country
Psampledatasafety cuy Year 2012
Sport Swimuing
Lold heas
Beonze Medals
Nane: Sun Yang, dtype: object
Searh Neu
1. Searh for the detali$ of a SPeITC Athiete
details fa spec1fic as per cific colus heading
Specif
Enter choice2
Enter col unnj he ading nane whose details you want to seelountey
Athlete
Pheles United States
Michael Pheles United States
Michael Plhelps United States
756A GR avbie hatalse toughlin Lnited States
Cik
alne als ceisueacaheet 0 sple seelo snpledatahuckeytip
M21leklienpee clotheals
Feter choice)
Main Heu
1. Display Records
2. korking on Pecords
3. Working on Columns
Search specific row/colunn
S. Data Visuali zat ian
Code Text
E Fies break
1. Display Records
2. Working on Records
3. Working on Coluns
4. Search specific row/column
sarple data 5. Data Visualization
README md
Enter your choices
[Link] Data Visualization Menu
anscombe json 1. Line Plot
2. Vertical Bar Plot
calfonia_housing [Link] 3. Horizontal Bas Plot
celfornia [Link] csv 4. Histogra
mnistLlesLcsv
Enter choicel
mnist Irain [Link]
2000
playerData cav
1750
sempledalasalety csy
1250
Gold Medals
700 Sitver Medals
Brore Medals
[Link] 000
anscombe json
calfoma, housing. [Link] 1590
Aehiet
Data Visualization Menu
1. 1ine Plot
Plot
tnt al Bar Plot
4. Histopran
S. Exit
7568 GB availabie Enter choice3
21tuk 12sampieas dothezsts a ecel sareadshectas A sample cy tie [Link] sampledatahockcy zip Shor a
Proertibyrt Coboratory
CO [Link]/thSibE-gy0 <jofvodk lo32 hfcscrcllo-PK4uy2omUs
+ Code + Text
Files
Aniete
Data Visualization Nenu
Line Plot
Vertaca. ber PiO
sample data Plot
P README md 4. Histogram
Exit
[Link] Enter choice3
R ansconbe json Gary aly
california_housing_test.csy lan Thorpe
celifornia_housing _train.csv Inge de bruyn
ninistLlesi csv Lbby Lanton ckett
mnistLIrain, [Link]
en Thnrne
[Link]
R [Link]
Gold Medes
Mchae: Phele
750 S00 1000 230 1500 150 x09
bata s u a 11zation
z Nenu