Created
September 22, 2019 15:16
-
-
Save dipanjanS/fd295bc19093ef52673b6cb71ef733e5 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
items_popularity = pd.read_csv('datasets/item_popularity.csv', | |
encoding='utf-8') | |
items_popularity['popularity_scale_10'] = np.array( | |
np.round((items_popularity['pop_percent'] * 10)), | |
dtype='int') | |
items_popularity['popularity_scale_100'] = np.array( | |
np.round((items_popularity['pop_percent'] * 100)), | |
dtype='int') | |
items_popularity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment