Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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