Skip to content

Instantly share code, notes, and snippets.

@AviSoori1x
Created April 14, 2021 00:39
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 AviSoori1x/45c961816ecb818df6a603904946022c to your computer and use it in GitHub Desktop.
Save AviSoori1x/45c961816ecb818df6a603904946022c to your computer and use it in GitHub Desktop.
def dicttopd(datadict):
for key in datadict:
datadict[key] = [datadict[key]]
return pd.DataFrame.from_dict(datadict)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment