DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
create dataframe from two variables
pd.DataFrame({'r': r, 's': s}) Out: r s 0 0 0 1 3 5 2 6 10 3 9 15 4 12 20
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#create
#dataframe
#variables
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit