Created
June 2, 2019 05:07
-
-
Save guerbai/0f9360e2725504f4b55addcdbe7f67e3 to your computer and use it in GitHub Desktop.
列出各种类的最大值与最小值 #Pandas
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
price_extremes = reviews.groupby('variety').price.agg([min, max]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment