Created
September 22, 2019 15:14
-
-
Save dipanjanS/38838c4379d952595c962ad793b8eb05 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
watched = np.array(popsong_df['listen_count']) | |
watched[watched >= 1] = 1 | |
popsong_df['watched'] = watched |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment