Data Science Theory Ashwin
Data Science Theory Ashwin
nest of dal
ash sip © > 15
#2. Bop Quntib :
fs. 75/. oyantile «|
# Sp qu : median .
ee
* Roxplol |
oblact
# tet quail
nd
3rd quontile
PLOT
1 QB7
quantile 50/.
2 15/
200
ard -
de par. 101, 102,- °°
Is - 5-5
au_| x0
0%
spree i
Rg
Ie
15.5
onther
oy
‘ee
3/2 TAR
195-5 5
#IQR Manns dislana bi Ss bb & 3rd
quantile.
Buffes
a DIOR - Most
ate not ve fon
be few more 98 las so
providing eka Spree.
of the dal
anPYTHON
|). Basic ALGERIC RAT)
2. VARIABLES
At
42| TF ELSE CONDITION
s, FUNCNONS
6. MAP FUNCTION .
7. FICTER FUNCTION
So ,
‘A, EXCEPTION HANDLING __
Jo. DEFAULT VALUE “ALLOCATION _
NN. WER FUNCTION-
yt. PYTHON
}
aa, Bogle sgdvic opel WH) #3 DATA THVES. Wa
———
1 nadchon :
eubtaclion
. . sale se
a pyeo o/b
S. Square » aah
pow (a,b)
6. Romindar Ob.
7 guotiont » of/b.
#2_Nariables (i
# nawing ;
4 my name - underscore. ,
9 manamne. small \eHer
3, Myname - captial \eHor
# snapping of value: .
= oth
7 other lengua
b =20
demp = 4
og
b = temp
> py than .
a =lo
b ao
| ab = ba.
* problem ; x=lo, y=lo
x4 = K to, Yt10, #20
ee 3° 7 oatpat
y | corre :
@ a.
' nt
2. Float
3 string
4. list
Ss: Tvple
6. set
7. Dichionary
# conversion of intergr Jo flont
x= 40
typed + ink
X= Float)
(Con float
. x = 40,0 " Pos i
conversion 9} u
| X= 10.0 “e
ie float
x= intlO
typeco » int
¥A._shing
# collection of clwaclers .
N
OF Abt sjz bon"
| a =* 12345"
a example «
| a= toy name. 1s Aswin!
Ola. oppad)
“onlpat +S My NAME 1S
Qn
| ontpat = ~
ASNIN®
lowar C)
my rome & aswin”
captalizec )
onlpal: 7 ”y rome is dewin’re
P one ‘ agninkumar”
oS aT3] aks i!
ae index (i ) ow 3
3 a. comt Cx) cut: 6
0. Hid CHD otf.
®@ TRUE/ FALSE
44. 4.15 upper C)
#2. a. 18 lower()
#2. 0.6 aloha)
4. 0- is alyum()
€ a=‘ aswin”
b=s kvmar!
AM At & ot ‘aswinkumar ”
#2. OF > out; * aswinasnin”
© indexing peation
& AT stort end : skpsize ]
FO = psn”
90424]: ow: Asn)”
# Q= * asin’
OD: :-s]
out +’ nia”
. out:
we
| ON
LIST.
# calleckon of objods.
# a list can contain any ki
of dalatype . oF can con,
an. calleckon of obit
|
| a= [4,2.5,7Rve,* vin Ts 9
i
# parties
@€
+) eq.
list rs mutable
a= Lo, 20]
aLo] = 100
| ot: = = [100,20]
€2. a. inser} O
". = Tio, 20]
Q. instert (0,17)
ot: a= L17, 10,207
2 =L 0,20)
O. insert (4, 14,2] )
a= [to,04,27, 207
#3. a. append ()
a= Lio,20]
QO. opperd C* aswin”)
out : a- [10,20,“asmin? ]
a. popd)
a= 17,289,11]
. pop(2)
Pee Ly index
ook: = [17,981]|
OO
go wen O #6 SET
pel 72804 % 1a] |e collection of ae ropnlative
a. remove C14) | nal defined events
ot OF p28] le ect chez vot upper! indexing.
ge o extend ©)
es 17, 28,4, 19]
a- extend CE 1j2,31)
# opon Hons
# 0. union Cb)
= Cun}
wk 0 = C2998, 028] | be $c1212)}
& a. agperd(a) | ouleat : £213)44
@ a=t123] le a. inloseckn Cb)
* appara) | axb
out 2 = T423,E- ela “pt pat
#5. TUPLE # n= gut
cont bauanse b= 3,415 ¢
2 Monat pga ;
oh eas number dt femurs. gh 23,24 an
#2 Fosler compared dp list | bea -{45} baat
43. Immutable te cannot dog 42 DICTONARY
& da over time
| Dichinary—Name =¢
* ample | iKeys= a’e volues-4,
ae C 10)'7/26) | Shou 2" lua
7 0 index) saps i
¥ 0. cont C) a
® 9 = 6123, 0728) je Dickona name Tkeys-2"|
afila ppend @). ovtpab values 2,
PAI append CE V2.3) é Dickionay. ome keys
ots = C12), 3) [17,98,4,L" “le Dicitonany - vale values
Fa. update Cb)
es Sees|
+ # yords = {
No! LY apple Senin’ |
vge ESbal’, “Sball”]
© Seaton”, S cunent ”] I
if Conprmens AND Sey,
|
#4 FOR LOOP yy
Get Add 9 number oh ng
a= 01/2,3,4]
t bec]
<® del worck [cI (for Fina: ;
dol vords C°eICM] b. append Cit mmbon)
_ # conversion of Chile type | print Cb).
“ ; - shy () FD.