Skip to content

Instantly share code, notes, and snippets.

@MariaLavrovskaya
Created June 14, 2019 11:52
Show Gist options
  • Save MariaLavrovskaya/01783531af627b002feda2d44cf63168 to your computer and use it in GitHub Desktop.
Save MariaLavrovskaya/01783531af627b002feda2d44cf63168 to your computer and use it in GitHub Desktop.
df.set_index("title", inplace=True) #setting the index name
df_1 = df.loc[:, ['imdb_rating','genre', 'runtime', 'best_pic_nom',
'top200_box', 'director', 'actor1']]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment