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)

Searching Database…

这是什么?这是一组用于练习 pandas(一个 Python 数据分析库)的练习题,按筛选、分组、合并和可视化等主题组织。
这是教程还是一组练习题?这是一组练习题,而不是教程。每个主题都有三个文件:练习说明、不含代码的解答,以及含代码和注释的解答。
内容是怎样组织的?我应该从哪里开始?练习按主题分组,包括认识数据、筛选和排序、分组、apply、合并、统计、可视化、创建 Series 和 DataFrame、时间序列和删除等,每个主题下都有多道基于数据集的练习(例如 Chipotle、Titanic、Pokemon)。
运行这些练习需要什么?你需要安装 Python 和 pandas 库,因为这些练习以 Jupyter Notebook 的形式提供。
如果卡住了,我应该直接看代码解答吗?作者建议先查看不含代码的解答文件,自己尝试推导答案,然后再看完整的代码解答。
这些练习有视频讲解吗?有。有数据科学家讲解如何解答这些练习的视频教程,链接放在“视频解答”部分,该部分指向名为 Data Talks - Pandas Learning By Doing 的系列视频。
练习中使用了哪些数据集?使用了多种贴近真实场景的数据集,例如 Chipotle 订单、Titanic 乘客、Pokemon 数据、美国婴儿名字、葡萄酒和鸢尾花数据、Euro12 足球统计,以及股票和金融数据。
Creator
guipsamora
Size
17.4 MB
Stars
13.2K
Updated
CommitOct 17
Age
10y
Commits · 90 Days