Last active
March 8, 2020 20:27
-
-
Save makispl/9bf1c50959082588f9d139c5a38b933d 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_II = df_pop[(df_pop['danceability'] > 69.55) & (df_pop['valence'] > 51.89)].copy() | |
# Concatenate the original playlist with the sample | |
df_party_exp_II = pd.concat([df_party, df_pop_sample_II]) | |
df_party_exp_II.describe() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment