-
-
Save bryankolano/9af0000de967c14695c846931f206f89 to your computer and use it in GitHub Desktop.
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
multi_cond_name_as_index = (df_name_as_index | |
.filter(like = 'Honda', axis = 0) | |
.loc[lambda x: x['year'].isin(years)] | |
.loc[lambda x: x['selling_price'].between(300000,450000)]) | |
multi_cond_name_as_index.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment