- Use built-in Python functions (
print
). - Use mathematical operators to perform calculations (
+ - * /
). - Assign values to variables.
- Use variables in mathematical equations.
- The
type
function. - The basic Python data types:
int
,float
,string
, andbool
. - How to convert between different data types.
- Make a list (
[]
). - Find the length of a list (
len
). - Add lists together (
+
). - Add things to a list (
.append
).
- Get an element from a list or string.
- Get multiple elements from a list or string.
- How to make 2D lists.
- How to index 2D lists.
- What functions and methods do.
- The difference between functions and methods.
- How to learn more about a certain function or method (using the
help
function). - New functions:
max
,min
,sum
,abs
,round
. - Functions can take arguments that modify the output.
- How to import new functions in packages in Python, such as
numpy
. - More functions and methods:
mean
(innumpy
)abs
(innumpy
)sort
- How to import the
pandas
package with the nicknamepd
. - How to use
DataFrames
. - How to see the beginning & end of a
DataFrame
with the functionshead
&tail
.
- How to read datasets from files into
pandas
DataFrames
. - The
index
andcolumns
attributes
ofDataFrames
. - How to find the number of rows, columns, and number of data points in a
DataFrame
.
- How to use square brackets to subset columns.
- How to use
iloc
to subset rows. - How to use
iloc
and square brackets at the same time. - How to use
query
to find rows where the column has a certain value.
- Create an
array
withnumpy
. - Perform math with
numpy
arrays.
- Calculate the mean of a set of values manually.
- Use functions in
numpy
to calculate both themean
andmedian
.
- Calculate count statistics using
collections.Counter
. - Calculate percentages from count statistics.
- Perform a t-test on a two-class dataset using
ttest_ind
fromscipy.stats
. - Interpret the results (
pvalue
) from a t-test. - Compute correlations for multiple variables using
corrcoef
fromscipy.stats
.
- Use the
seaborn
package with the nicknamesns
. - Load built-in datasets from
seaborn
with theload_dataset
function. - Create a line plot with the
lineplot
function fromseaborn
. - Change the
hue
andstyle
of lines based on categorical variables.
- Create a scatter plot with the
scatterplot
function fromseaborn
. - Create a scatter plot with a line-of-best-fit with the
lmplot
function fromseaborn
. - Change the
hue
,style
, andpalette
of a plot.
- Create a bar plot with the
barplot
function fromseaborn
. - Remove missing values from data frames with the
dropna
function. - Create a histogram for continuous variables with the
distplot
function fromseaborn
. - Create a count plot for categorical variables with the
countplot
function fromseaborn
.