Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas to dict by row

data_dict = pd.read_csv('file.csv').to_dict(orient='records')
 
PREVIOUS NEXT
Tagged: #pandas #dict #row
ADD COMMENT
Topic
Name
7+2 =