pandas_exercises README

The project's README from github.com/guipsamora/pandas_exercises. As one markdown file: README.md.

Pandas Exercises

Fed up with a ton of tutorials but no easy way to find exercises I decided to create a repo just with exercises to practice pandas. Don't get me wrong, tutorials are great resources, but to learn is to do. So unless you practice you won't learn.

There will be three different types of files:
      1. Exercise instructions
      2. Solutions without code
      3. Solutions with code and comments

My suggestion is that you learn a topic in a tutorial, video or documentation and then do the first exercises. Learn one more topic and do more exercises. If you are stuck, don't go directly to the solution with code files. Check the solutions only and try to get the correct answer.

Suggestions and collaborations are more than welcome.🙂 Please open an issue or make a PR indicating the exercise and your problem/solution.

Lessons

Getting and knowing Merge Time Series
Filtering and Sorting Stats Deleting
Grouping Visualization Indexing
Apply Creating Series and DataFrames Exporting

Getting and knowing

Filtering and Sorting

Grouping

Apply

Merge

Stats

Visualization

Creating Series and DataFrames

Time Series

Deleting

Video Solutions

Video tutorials of data scientists working through the above exercises:

Data Talks - Pandas Learning By Doing

pandas_exercises (guipsamora/pandas_exercises)

practice
Searching Database…

What is this?A collection of exercises for practicing pandas, the Python data analysis library, organized by topic like filtering, grouping, merging, and visualization.
Is this a tutorial or a set of practice problems?It's a set of practice exercises, not a tutorial. For each topic there are three files: exercise instructions, solutions without code, and solutions with code and comments.
How is the content organized and where do I start?Exercises are grouped into topics such as Getting and knowing, Filtering and Sorting, Grouping, Apply, Merge, Stats, Visualization, Creating Series and DataFrames, Time Series, and Deleting, each with multiple dataset-based exercises (e.g. Chipotle, Titanic, Pokemon).
What do I need to run the exercises?You need Python and the pandas library, since the exercises are provided as Jupyter Notebooks.
If I get stuck, should I jump straight to the code solution?The author recommends checking the solution-without-code file first and trying to work out the answer yourself before looking at the full code solution.
Are there video walkthroughs for the exercises?Yes, there are video tutorials of data scientists solving the exercises, linked under a 'Video Solutions' section referencing a series called Data Talks - Pandas Learning By Doing.
What kind of datasets are used in the exercises?A variety of real-world-style datasets such as Chipotle orders, Titanic passengers, Pokemon stats, US baby names, wine and iris data, Euro12 football stats, and stock/financial data.
Creator
guipsamora
Size
17.4 MB
Stars
13.2K
Updated
CommitOct 17
Age
10y
Commits · 90 Days