Useful Links
Computer Science
Data Science
Pandas Library
1. Introduction to Pandas
2. Core Data Structures
3. Data Loading and Saving
4. Indexing and Data Selection
5. Data Cleaning and Preparation
6. Combining and Reshaping Data
7. Grouping and Aggregation
8. Working with Text Data
9. Working with Time Series Data
10. Multi-level Indexing
11. Data Visualization
12. Advanced Topics and Performance
Multi-level Indexing
Creating MultiIndex
From Arrays
From Tuples
From Product of Levels
from_arrays() Method
from_tuples() Method
from_product() Method
Indexing and Slicing MultiIndex DataFrames
Selecting Data at Different Levels
Slicing with MultiIndex
Cross-section Selection
xs() Method
MultiIndex Operations
Swapping Levels
swaplevel() Method
Sorting by Index Levels
sort_index() Method
Dropping Index Levels
droplevel() Method
Stacking and Unstacking
stack() Method
unstack() Method
Reshaping with Multiple Levels
Pivot Tables and Cross-tabulations
pivot_table() Function
Aggregation in Pivot Tables
Multi-level Columns in Pivot Tables
crosstab() Function
Frequency Tables
Normalizing Cross-tabulations
Previous
9. Working with Time Series Data
Go to top
Next
11. Data Visualization