Skip to content

Instantly share code, notes, and snippets.

@abhishek-shrm
Created October 4, 2020 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhishek-shrm/f8eba5da26d1885cea8053ff7e79b501 to your computer and use it in GitHub Desktop.
Save abhishek-shrm/f8eba5da26d1885cea8053ff7e79b501 to your computer and use it in GitHub Desktop.
# Creating a dataframe of abstracts and keywords in the validation set
df_val=pd.DataFrame.from_dict([abstracts,keys]).T
df_val.columns=['abstract','keys']
df_val=df_val.reset_index()
print('Shape=>',df_val.shape)
df_val.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment