DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas make dataframe from dictionary keys are columns
a={'b':100,'c':300} pd.DataFrame(a, index=['i',]) b c i 100 300
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#pandas
#dataframe
#dictionary
#keys
#columns
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit