Created
April 21, 2019 12:00
-
-
Save prateekjoshi565/98731f9c43ce5bf6e0c1db2e3cf61201 to your computer and use it in GitHub Desktop.
genre_split_id_plot
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
movie_id = [] | |
plot = [] | |
# extract movie Ids and plot summaries | |
for i in tqdm(plots): | |
movie_id.append(i[0]) | |
plot.append(i[1]) | |
# create dataframe | |
movies = pd.DataFrame({'movie_id': movie_id, 'plot': plot}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment