Casotien X Dotatome
Nw Coluywn a
Datafyom
1 Adding
impovt panla
pde Daafm(Ram
J'Ram : 21 An: 2s Dimple Ran
Al' Dimple' : 6 , index [R,'
couumn to
(olumn to Df.
pint(dt)
Ram Ani Bimgle
29
R3 18 26
Ram An
25
Bimple Anit
R2 2) 21, 23
R3 22
23 18
25
1
Ram An Arnit
2,3 22
18 26
colmn with lewex
than he no: Aows 9
a yale
New Row to a Datafrae
We Can add a a Dataane
the loc] mathod.
impont pondas
df= pd" Datafvane(Rom' :25 , Anil : 29, Dimale':28).
'Ram ':21, Anil' Bimpla': 23,Ram':
Diynple' : 26
pränt )
af. Joc 'R« ,2,lo] Adding
pu§nt (a)
olti Ram Anil Dimla
R! 25
23
R2 2)
18 26
23
Ram
25
Anid Oingle
RI 29
25 23
R3 23 18
R4 12 22
OMSPage No. 22
Date
NOTE We to add SthJlsAe more valey
than colmn Datafroma
vas