Uploaded by Sally North

data science notes

advertisement
DATA SCI 10113
Python
pal 00
double 1)
!
Za
=
multiplies
be used on an
↳ can
indentation matters when
↳ need to indent !
"
Variable scoping" : does
a
Variable only has
defined in
•
lambda funes
assignment
ex :
array
defining fun cs
}
see
for
lect 6 Demos Pl
ex
for
-
diff
works
user
made
-
functions
for
=
functions ( ex :
just
scalar
vs
like
calling the
the
cut
-
structured values
D= a
=
20
print l
↳
if
"
a
notebook
percents function
=
"
"
,
a = 20
you want to
a
>
b.
"
=
,
b)
D= 10
create
a
new copy use
cut
-
off
off function
a--10
a
w/
a name exist & What does it mean
inside the func it was
Uh named
=
2
meaning
can be used
apply
by
×
copy c)
fund
ex !
Download