DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
convert 2 columns to dictionary pandas
dict(zip(df.a,df.b))
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#convert
#columns
#dictionary
#pandas
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit