Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert a dictionary to Pandas DataFrame

import pandas as pd

my_dict = {key:value,key:value,key:value,...}
df = pd.DataFrame(list(my_dict.items()),columns = ['column1','column2'])
Source by datatofish.com #
 
PREVIOUS NEXT
Tagged: #convert #dictionary #Pandas #DataFrame
ADD COMMENT
Topic
Name
2+8 =