Skip to content

Instantly share code, notes, and snippets.

@pixyfox
Last active March 2, 2021 08:43
Show Gist options
  • Save pixyfox/a9181b903edc58803b91ec9bf03ad1c1 to your computer and use it in GitHub Desktop.
Save pixyfox/a9181b903edc58803b91ec9bf03ad1c1 to your computer and use it in GitHub Desktop.
dict_of_trends = {g: pd.DataFrame(k) for g,k in trends.items()}
data_df = pd.concat(dict_of_trends, axis=1)
data_df.to_csv('trends.csv',index=False)
data_df.head() # Check data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment