pandas
pandas¶
Function |
Chapter |
Description |
---|---|---|
Tabular Data and pandas |
Create a DataFrame from a two-dimensional array or dictionary |
|
Tabular Data and pandas |
Import a CSV file from |
|
Tabular Data and pandas |
View the first |
|
|
Tabular Data and pandas |
View a DataFrame’s index and column values |
Exploratory Data Analysis |
View descriptive statistics about a DataFrame or Series |
|
Exploratory Data Analysis |
View unique values in a Series |
|
Exploratory Data Analysis |
View the number of times each unique value appears in a Series |
|
|
Tabular Data and pandas |
From DataFrame |
|
Tabular Data and pandas |
From DataFrame |
|
Tabular Data and pandas |
From DataFrame |
|
Tabular Data and pandas |
From DataFrame |
Data Cleaning |
View missing values in a DataFrame or Series |
|
Data Cleaning |
Fill in missing values in a DataFrame or Series with |
|
Data Cleaning |
Drop rows or columns with missing values from a DataFrame or Series |
|
Data Cleaning |
Drop rows or columns named |
|
Data Cleaning |
Rename specified rows or column in DataFrame |
|
Data Cleaning |
Replace |
|
Data Cleaning |
Reset a DataFrame’s indices; by default, retains old indices as a new column unless |
|
Tabular Data and pandas |
Sort a DataFrame by specified columns |
|
Tabular Data and pandas |
Return a GroupBy object that contains a DataFrame grouped by the values in the specified columns |
|
Tabular Data and pandas |
Apply a function |
|
Tabular Data and pandas |
Apply a function |
|
Tabular Data and pandas |
Apply a function |
|
Tabular Data and pandas |
Extract a property |
|
— |
Convert categorical variables |
|
Exploratory Data Analysis; Databases and SQL |
Merge two DataFrames |
|
Databases and SQL |
Read a SQL query |