Skip to content

frankligy/pandas_by_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Index and MultiIndex
  2. Series, Categorical and dtype
  3. Various Reshaping Operations
  4. Squeeze function
  5. combine two columns to a dictionary
  6. Read R format data
  7. Using bracket when subset with multiple condition
  8. Chain Indexing
  9. How to extract (index,column) pairs based on value?
  10. Extremely large dataframe
  11. AnnData: Annotated DataFrame
  12. How to order dataframe based on custom order
  13. stay tuned

About

A compendium of useful, interesting, inspirational usage of pandas functions, each example will be an ipynb file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages