Skip to content

Instantly share code, notes, and snippets.

@nikolasrangel
Created August 13, 2018 12:32
Show Gist options
  • Save nikolasrangel/7c0729df4601a134e309f3125999f7b1 to your computer and use it in GitHub Desktop.
Save nikolasrangel/7c0729df4601a134e309f3125999f7b1 to your computer and use it in GitHub Desktop.
Creating a Pandas DataFrame from a Python 3 dictionary
import pandas as pd
dict = {'description': 'value'}
dict_items = dict.items()
dataframe = pd.DataFrame(list(dict_items), columns=['Description', 'Values'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment