joe datatrame object spect indexes
sg towed me oi
i ae data rows?
row index(ans-0} ang
msi ci
e weteacode statement vole
ellin he row and “tem
ae 4 em” column froma dt
a column inde ans,
eve, the st 5 ws ae being displayed, den
pre ee he error and rewrite the correct code so that only
HET (CBSE Sample Paper 20201
ms
the functions you can use to iterate over taf,
name th aa
rows) and iertem } rames,
an, nem}
1s the base ifference between terra
wats he Hand items
Lotes etes over vertical bets in he forma
sents over horizontal subst
(obinder, seis) pars whe <OF>terows
Sin the form of (row inde,
series poe
a cone the tale even s under
ine. [nome [Gender [besan — Jay Ju
a [mia CC ET |
EC Im — [programar — [mentar eses
03 | Rahul TN [sucesso
[eos [nist [Tans wcinow—[so173656
is] TE Programmer ET ET
te a program to pin oy the Name, Gender and Designation fr al rows
ass import pandas as pd
exp ((°E01", *Ritika", °F",
a
£03", "Rahul", "M, "TT Officer", "Ahmedabad", "786655778:
2804", MRE jul", Mt, "Analyst", fi
LES", "Anita", 'F*, 'Progranner*, "Bangalore", "9818765544" ]
Jder' "Designation
anager’ , "Delhi", "9867585958"),
"Programmer" ‚ tumba,
1:02", "Get.
scknou", "901736
df = pa.DataFrame (emp, colunns=
print (ae)
for i, row in df. iterrows()
(row Name”), "ME,
row[*Gender"), NE"
row["Designation"))
°c (eig Ina PL
= ie
Mer Tim cea [Baia [es
KL Rahul Kings Eleven E —T00 |
Andre Russel _ |Koikaa Knight Riders _[Batsman_|7-__
sort Bumrah | Mumbai Indians
[ECN
be |
Veatkoni [RC 1 m.
(Pot Sharma _ | Mumbai Indians. [gatsman 1
oie sharma _[mumbarindins |