Search
 
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
Name
6+9 =