pandas_by_examples
pandas_by_examples copied to clipboard
A compendium of useful, interesting, inspirational usage of pandas functions, each example will be an ipynb file
Pandas_by_examples
A compendium of useful/interesting/inspirational usage of pandas functions, each example will be an ipynb file
What is this repository?
When you browse through Stackoverflow or reading blogs on Toward Data Science, have you ever encountered some super elegant solutions (maybe just one line) that can replace your dozens of lines codes (for loop, functions)?
This repository aims to store these impressive solutions in pandas and the associated examples. Each real-world task will be presented as a jupyter files to make it easy to follow step by step.
If we want to know more about the motivation, Read the blog I published on Toward Data Science: https://towardsdatascience.com/learning-pandas-by-examples-8105771c723c
Contribution
Please feel free to create pull request for these kinds of pandas usages that occur in your daily coding.
Index
- Index and MultiIndex
- Series, Categorical and dtype
- Various Reshaping Operations
- Squeeze function
- combine two columns to a dictionary
- Read R format data
- Using bracket when subset with multiple condition
- Chain Indexing
- How to extract (index,column) pairs based on value?
- Extremely large dataframe
- AnnData: Annotated DataFrame
- How to order dataframe based on custom order
- stay tuned