04.exercise-grouping-and-sorting【练习:分组与排序】
This notebook is an exercise in the Pandas course. You can reference the tutorial at this link. Introduction 介绍 In these exercises we’ll apply groupwise analysis to our dataset. 在这些练习中,我们将对数据集应用分组分析。 Run the code cell below to load the data before running the exercises. 在运行练习之前,运行下面的代码单元以加载数据。 import pandas as pd reviews = pd.read_csv("../input/wine-reviews/winemag-data-130k-v2.csv", index_col=0) pd.set_option("display.max_rows", 5) from […]