Last active
March 8, 2020 20:27
-
-
Save makispl/6a48431def4d0dbb51bfad5b68176550 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
# Take a sample from the Pop playlist | |
df_pop_sample_III = df_pop[df_pop['score'] > df_party['score'].mean()].copy() | |
# Concatenate the original playlist with the sample | |
df_party_exp_III = pd.concat([df_party, df_pop_sample_III]) | |
df_party_exp_III.describe() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment