🐍🐼
Book
Table of Contents
Book Index
Scratch ActiveCode
Chapters
1. Introduction
2. Values and Variables (Single Pieces of Data)
3. Control Structures
4. Functions
5. Strings, Lists, and Files (Multiple Pieces of Data)
6. Pandas: Series
7. Pandas: Dataframes
8. Statistics
9. Visualization with Seaborn
10. Data Cleaning
11. Classes (Defining New Kinds of Objects)
Contributions
License
Index
Symbols
|
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
H
|
I
|
J
|
K
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
Symbols
%
modulus / remainder
( )
grouping
*
multiplication
**
exponentiation
+
addition
-
subtraction
/
division
//
integer division
[] operator
_
__init__()
A
abstraction
accumulator
accumulator variable
algorithm
,
[1]
aliasing
,
[1]
copying to avoid
alternative execution
and operator
append method
argument
,
[1]
,
[2]
,
[3]
arithmetic
operations
assignment
,
[1]
item
attribute
B
body
,
[1]
,
[2]
bool type
Boolean
Boolean expression
boolean expression
Boolean operator
bracket operator
,
[1]
branch
,
[1]
break keyword
bugs
C
chained conditional
,
[1]
character
class
close method
code
colon
comment
,
[1]
,
[2]
comparison
string
comparison operator
,
[1]
composition
compound statement
,
[1]
computer
computer science
concatenation
list
string
condition
,
[1]
conditional
chained
,
[1]
nested
statement
conditional statement
constructor
continue keyword
control structures
copy
slice
to avoid aliasing
count() method
counter
,
[1]
,
[2]
,
[3]
CPU
D
data
data science
data type
debugging
,
[1]
lists
decrement
,
[1]
def keyword
del operator
deletion
element of list
delimiter
deterministic
,
[1]
divisibility
dot notation
,
[1]
,
[2]
E
element
element deletion
elif statement
else statement
empty list
empty string
end of line character
equivalence
equivalent
error
runtime
semantic
,
[1]
syntax
error message
escape character
evaluate
,
[1]
exception
IndexError
,
[1]
TypeError
,
[1]
,
[2]
expression
,
[1]
,
[2]
boolean
extend method
F
f-string
False
file
open
reading
writing
file object
filter pattern
find() method
float()
floating point
,
[1]
flow of execution
,
[1]
,
[2]
for loop
,
[1]
format string
fruitful function
,
[1]
function
,
[1]
,
[2]
fruitful
list
open
repr
void
function argument
,
[1]
function call
,
[1]
function definition
,
[1]
,
[2]
function parameter
functions
G
guardian pattern
H
hardware
header
I
identical
identity
idiom
if statement
if-else statement
immutability
,
[1]
import statement
in operator
,
[1]
increment
,
[1]
indentation
index
looping with
negative
slice
IndexError
,
[1]
indexing
,
[1]
infinite loop
,
[1]
initialization
input device
input statement
instance
instantiate
instructions
int()
integer
,
[1]
integer division (//)
invalid syntax
invalid token
is operator
item
item assignment
item update
iteration
,
[1]
J
join method
jump
K
keyword
,
[1]
L
len() function
,
[1]
,
[2]
list
,
[1]
concatenation
copy
element
,
[1]
empty
function
index
item
membership
method
nested
,
[1]
operation
repetition
slice
traversal
,
[1]
literal
log function
logical operator
,
[1]
loop
for
,
[1]
traversal
while
looping
with indices
M
main memory
math library
math module
max() function
membership
list
method
,
[1]
append
close
extend
join
list
pop
remove
sort
,
[1]
split
min() function
mnemoic
module
,
[1]
module object
modulus
,
[1]
mutability
,
[1]
,
[2]
N
NameError
negative index
nested blocks
nested conditional
nested list
,
[1]
,
[2]
newline
,
[1]
None special value
not operator
O
object
,
[1]
,
[2]
attribute
method
open function
operand
,
[1]
operations
arithmetic
string
operator
,
[1]
Boolean
bracket
,
[1]
comparison
del
in
,
[1]
is
logical
slice
,
[1]
or operator
order of operations
,
[1]
output device
P
parameter
,
[1]
pass statement
pattern
filter
guardian
persistence
pi
pop method
print debugging
problem solving
program
programmer
pseudorandom
,
[1]
R
random module
random number
range() function
read-evaluate-print loop
reasons for
reference
,
[1]
aliasing
remainder
remove method
repetition
list
string
REPL
repr function
return
return value
,
[1]
rules of precedence
runtime error
S
search pattern
secondary memory
,
[1]
semantic error
,
[1]
sequence
,
[1]
sine function
slice
copy
list
string
slice operator
,
[1]
sort method
,
[1]
special value
None
split method
sqrt() function
square root
startswith() method
statement
for
import
str()
string
,
[1]
comparison
concatenation
escaping
operations
repetition
string formatting
string representation
string slicing
strip() method
sum() function
syntax
syntax error
T
text file
traversal
,
[1]
list
trigonometric function
True
truncation
type
,
[1]
bool
conversion
float
int
list
str
TypeError
,
[1]
,
[2]
U
underscore character
update
item
upper() method
use before def
user
V
value
,
[1]
,
[2]
variable
,
[1]
assignment
naming
types
updating
void function
,
[1]
W
while loop
whitespace
with statement