Pandas-1 IP 12th
Pandas-1 IP 12th
Numsuexa
baed dath
(Payaloa Data scuence
Data
mdata Pandasopialiend
arabhantainaeDala
antiyace i dala
Raw ’
ane Dala Dala
Tand Dala
analy
dalaand blottid
Chenssuee
in
HebugnGus
nalyes
dlata
data O wtichdlennt Waehuse Dala Meaningldata Daa
abula
mat
dataet fonda
bxid Handling
iilouai
Tocl
data
hgh ung
iualiealon ,
-puumana, then analyDala
farndas-I
cenetd
)
be
(ntqlat,
olnns A
inled Can
sead
eay iaiaonDala
Featine
Pandas dala
aaed
and n
Pondayaliung
wute
deletid in
can be
maddeubli"ete
datadluctu , abuuctesdata
n dala
uavchaue,
Can
I1dese Dala
.
Ceatng
380 w o Senies
WAP strtee
60 50 One-duneneral Sye
eDala s DS
othrmutable
to an can
mbent
andas ceeae embty Tndex
ata
'DAx30 May feb dataalao in
an Data
28
aiign
typea Panda
3| 31
an
Seies
indexolua Hardling
apial's eung
2:
fandaa
Puo-dunndienal Dalaame -
P ns p I
IndeXes
axu(aeu/olumni)
Labeled Hetsgeneusdala
9 6 8
Output
n-een This mutable
2 may
bie
cenulle
wil 9 D
be
bunid ralues nunbu
Guaing
menthsJan
d impet þunt(s1) imtet Synlari
punt
(s1)Seeies daySL
30 20 10 dha na undes
typedalDala Nunty
Arwxay
y nda
Dala Quthut ngt
Feb Jn
3) RES
nathemalical ide)a
Nan3T wcala
TART
31 30 28
C7USY
Oust cBnlant
|
exbseon
vale
unelion
-
WAPto
9. aeeles
Cxeale .
cimaout
tanda unpeut
3 2 =
Aein(sti)Slumbeut þent(st)
75 20
6 foSeridcueatia
O pandas pandas
acees
þeint ( aeesa
xange bd udng
2C(sa.
3 RESTART: (220, uth ange
75 ange
Ontage
ralesase Omethod
4),ndes
ConythteHo
cd t
and
o
=x By
d
ef
TARTclweyRES (:
RESTART:C|Uul
4 3
I8 2 ox 3
nt64
in dala
'abedel)
Hangemthscl
name
NamingSeeie a
SrART:C:/y..Feb
Jan
Name Apt Mar MONTH jndenam
=Menth Sl
nameSl" SI þant(S)Ampet
xunt(s) SI
= =
ys, i pd.
30 þandasd
3128 3|
Senies Seee
type
(1Jan3eb' a
int name
andues
Jan
pd
64
o Duienasem
the 31,'b:
tuo
28
namelo colmnd,
namg fnam# 28,'Man3'Ab'
Mar
3 index
diel
inde
the
Apy ond
nan :30
30f values
)
28
C:U|· Jon3I
dge: in64
t Mo3IebRESTART:
a
Seus
ueng
),) (s[b1)
t( þunt Lmbat
S2
þunt þunt(s2['d)
(s2(la','c'
'o1)
hunt þrint(s1) mpWAP bnt(st) SI mbet WAP
= o =þd to
þd
pandad ceai ceale
bandaas
bd
Seiel Dalaem Seues ande
a oseied
(Cio,20,30,4o, a ses ([5,
bd as
a 5:4, pd
sexies wth ming
tungalen
n
6o]ndex eajlucily
wth NaN,-34:5)
poalion
dunad
'a
C inden
RESTART:
ClUuel:
50 30
b,
de , alues
3 2
-345 5-4
NaN 7-5
5 b RESTARI:
</Uol2
2
8
5 4 3
d t b C
b2 locc) duneim
Tadeng
:cUanl
RESTARI Slocl13
þunt4])
2 3 S=foSs
þuntmpetþandas
y 3 þd
as
làcC)it
(5-
loc name
(lI,2,3,4,5]
['b':'e undes
and
iu
wad
'}) Joc['b:S.
'e
eln
erndeng
indx
nding
nom
=l'a
0Hdeleeing
tt
b
ae
de bauud
baded
narme-bas2d
oabl- ta
om
þeaen
þoaLlierwe
n
nan
-baud
ue
undexing have
badundng hare
~o
o
impont
Sz Cealingawecieom Scalas
þd. hrut
Sl (sl) Sl=
banda Sl=
mbet pint(SI) het
Sexies
fandas a þdseis =þdseHLeA aseieA
Soia handas
('Inyenmalus
a uth (lo ( (55, a
td E5, fd
inde nden
PBraiees ndex nden
=[la',5'd,e
abae
sina Lo,2,3]
Nelusk Pardas
RESTART:
C/Uey.
ndax
ardas'st ybe
ius
u
matics
racticy
Inyomalies
Prares
nemales
Pracces
Dalabae
umbent ceealiWAPlo
Caxpenentialien-Aquae Caatiga
dahy Sl=
sebj impet
unt(si) unts) mhet
= =
axane
þd-Ses( þandas a jd np
Seies
þandas
gnat
n pal
(nde
index wiesa a
(o,5)l15)o, thuot
d a
=sL, mathumalical
unelion
thnagh =
the sI Malhumalical
Ehosden
/Funlen
dala elemeni daa
mathumalicol
= =
esaponunt S) mathumalical
Sl expsen a
** k4)
2
T2 loCio 12
RESTART:/uey
I C intde3.14 T312 RESTART:c)
Clo
169 744 loo nt32 52 48 I
2 121 4]
12
13 12
13 yh
T4J
AtiibuliA We
Sene canSeis
Chect CKaaling
Abubei
<Jeed
chyect sIdees
funt(s) Sl=dseuies(anay imbot geneualewWAPlo
cemmmn mpot
anda þxuntCs)
a
pspeulies
yanious
ebtaun
nmpy seissnga
attuble
n
anay p
a
asay(Cio,20, a
(astayl, nSuies
( n
Hlatd Cio,
CLio,20,3o,
index 20, ing
tode 30, humby 30,
=['a, 4o]) 40])40])
b,d') awxay
theeygh
nunty
and
ao
ge
i
aiesuaid undice
dyp:nt32 d RESTART:
ueeyl C 3
RESTART
CJUunl
30 20 20
40
aeoalao
attibuis
(xangel,15,3),inlex
buntndim)
(u irdex (s
imsut hasnand
pandaasSexiesEnmag
WAP Seies Secic Seus.shabe
ndin
Seies
Sexiye
þtunt(u puunt bnt þiat Senies
nhye. Atribli-Nae
Seies
nleuSeie.
(snt
.
( o
(ishape) yale lalalaihe
ndex
timga) nbya)
raLe
Rellans
Relinns
tue Relusn
th Rellun
Rellsnsluple ndasaLy
Retns
Relwns
ndenthe
Retnns Relins Deaciplion
attuibulu
humby the
the numbu dfpe
= nunbe
[ ge a
celatad theeQHe e
cbjeet
qthe
fox
elemint
the byis ahape
e
x to dgedumnlen
in q othe
a ndg
abcde'9 unduyng
wndnbyg
8 (6,)5 RESTART
Cyl NaN
dala
data dala
S3=d the
. haadO-n Sis
iu([2,22,23,24])
a4)
þunt pxunt(S+s)
psunt s2= sl= athemalltal
LWAP þunt( Seies
ndex þeintlsenislhead (2))
(ieniesl)deesl
punt JAP Reti
dSeus([L2,13,4) pd = o nunbe
(a seoies
llsbrala to mbe tail
t denis =
J3) pdSeielCio20,30,40l allusliala O- valeed
Cheralior ete4
([21,22,23,24]
l- þaxametan
displaythe
the
ail
weking cm (2)) the
he
aseed wetkung te
to tot
lo2,l03,o,
104])lndex last
the 5
mathumalical
numbu 5 wng
=L elementa H
lor, ndeshead) Q
data
daéã heod)
lo2, n'
chexatsa =la by
I03, and ales i
bd difault and
104) the
Tail
o ees toil
bebulld
O.C Houene
tem
dbe nt
64 RESTART:
b
b20
out a
30 403020
231
32
34 -264
36 299
38 336
ints4 daße iint64
NoN ( 523
NaN
O5 454
St53
2 NaN
Na
3 O56521I ss!
O58333
NaN
lo2 NaN
to3
NaN
4 NaN
Axilhmalic cÙuHaien n
k *2
121
vetr soratton, a |Q00000
2 169 1·414214
196
3 elernent ees 2 t325+
3 2-000000
f"D0000
-4)4214
Rstsuiung alus uuing corditioms sfz 2 73205|
3.
weed o teeh bsth indent and celun namu
4.
ueed o teth the dala ybes ales the itin innthe
dataane
5: Lsd to felch the die the datararne , which isu he pucdut
datarame ,uhich
the nmbe ous and Colund Roo 3, Col4 any-3*4= 12
8.
it ges s dhe beslean Quthut in the
us tethen a dala<ama has any emply at meing ale
9 ianaC) t check the busene g NaNs (net aumbix
4,3)
falue
finding NaN
2018 2014 2020
Accounl falue fale fale
LP Ffalse Falue Falue
Fale false Fali
Eng Falue Falae Falue
o dudblay the count and tuansbse attibuli
9 WAP
Ambeut þanda a bd :l77, &o5, 78:6, 76-2L
diet -£'2018':l854, 88 '2, 80 3, 79 o) 2019'
'2020'865,0:0,77:5, 805Jí
='AcceuntiIpEo'Eng)
d bd atafnama( ouet,ndex Reslat ic:l Ueel ---.
bunt Cd) 20 8 2019 20 20
Acceunt 85:4 77? 865
þint ( ds count (1)) LP 882 805 0-0
þunt(d- countlai 'ndes) Eg
Eco 803
790
78:6
76-2
77:5.
805
Rahl 92 A2 .
Indee C
67
Dabat
2
Meghna
Radhuka 95 Al
’SeiesA
"Diienay
tmbly Daca Fxarne Reslaat: C3/Ueer/.
Cxaaling an
þiunt (dyi)
Guealii Dataf>rames om
nbert þanda au pd Reslat:C:/Uerle-.
Name
odatal - Ct'shueya' 2a, C' Rakuhit, 22), [' Sijan, laJJ Shya
Rabsht
2
22
80 32
5.
xealng Dalafxama fem Dcliemany Rah 42 28
Diienasied can be þasud as an nbut data to cuata
ate
ghna 67 30
tetakenau
datauame Tha dielionag
Calumn nomu Thu ditent way to cuala a dabigiamwaing
a) Dailienany t
dieiarant
c) List cuienanus
a) Guualing a Datajxamu ung dclieay a iat
umpet bandan as hd
Ahdant =f 'Name': ['Runku 'Rite', 'Ajay', 'Pankaj','Aditya',
'Englih' :LG7, 78, 75,88, 92] RESTART d Uenl.
'Eco' :[78,67, 8A,90,56], Nane Eco IP Aeunt
'IP' : [78, 88,98,90,87], D Rinku 67 78 78 77
d = pd otafxame (stdeult)
Eramble 2
npeut pandas a bd
stud-slt =1 Nae Radhita'
Eng'i d Seiea (C89,78, 81, 9o]),
'Eoihol e s (l8,80,60, &4]),
'EcD RESTART C ! / l
IP' d Sesies (C89, 18 ,67, ol) Eng Eco IP
Name
Eng
89 87 89
Des 80 789
bnt (ay) 2
Shauya
78
89 678
3 Radhika 84
Dalayame
Adtinglaitgg <dalajxameohet lo lunden ] = laul, vala 2 , ]
umpert bandos au hd 'c'], Eng': [ho,50, bo),'Malhe':[55,65,75)f
sudant I{Nena' :[A 'B'
d d Daafran(student) Mathe
Nam Eng
punt ldy) A
Eng 55
50 65
2. C 60 75
3 65 70