Spending too much time on stack overflow or googling `how do I do x in pandas`?
Frustrated by the massive official documentation? The current version has over 2,500 pages!
I was frustrated too! I started to use pandas few years ago. Once I coded few larger projects I found myself visiting the code over and over again grabbing snippets of pandas to use in new projects: open csv in pandas, but skip rows 3 and 4? Save dataframe as csv, but without quotes? Rename columns of a dataframe?
Hi, I am Andreea Gheorghe, a software developer with extensive experience in working with data. I am currently trying to compile a collection of pandas code snippets that are commonly used in data exploration and analysis.
Code snippets are reusable, task-oriented blocks of code. It can be as simple as one line of code for a method call with specific arguments to multiple lines implementing a small app feature.
Browse it on your local computer as html pages. Read it on-the-go as pdf or epub.
The creation and management of code snippets can be an involved process. Thankfully, this collection provides out-of-the-box snippets for common data manipulation tasks with pandas.
Each code snippet has descriptive title easy to read and search. TOC pages for all the snippets categories.
There are two ways to locate the code snippets on this website: the search option offers a find-as-you-type funtionality using Algolia as cloud search solution while the browse option displays the snippets via traditional documentation pages built with Sphinx.