Created
June 2, 2019 05:05
-
-
Save guerbai/2374972787a754283f55d966e4557ae6 to your computer and use it in GitHub Desktop.
找到性价比最高的item #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
bargain_idx = (reviews.points / reviews.price).idxmax() | |
bargain_wine = reviews.loc[bargain_idx, 'title'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment