Pandas 練習題

numpy 和 Pandas 似乎超級火紅的,好多python 的實體書都有安插詳細的教學,似乎應該找時間學一下。


對 Pandas 覺得不太熟練?最好的方式就是找練習題來複習課程中所學到的觀念,參考看看這個 github 開源專案:
https://github.com/guipsamora/pandas_exercises


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 or video and then do exercises. Learn one more topic and do exercises. If you got the answer wrong, don’t go directly to the solution with code.

Suggestions and collaborations are more than welcome. Please open an issue or make a PR. 🙂

Lessons

Getting and knowingMergeTime Series
Filtering and SortingStatsDeleting
GroupingVisualizationIndexing
ApplyCreating Series and DataFramesExporting

Getting and knowing

Chipotle
Occupation
World Food Facts

Filtering and Sorting

Chipotle
Euro12
Fictional Army

Grouping

Alcohol Consumption
Occupation
Regiment

Apply

Students Alcohol Consumption
US_Crime_Rates

Merge

Auto_MPG
Fictitious Names
House Market

Stats

US_Baby_Names
Wind_Stats

Visualization

Chipotle
Titanic Disaster
Scores
Online Retail
Tips

Creating Series and DataFrames

Pokemon

Time Series

Apple_Stock
Getting_Financial_Data
Investor_Flow_of_Funds_US

Deleting

Iris
Wine

相關文章

寫留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *