Answers for "create dataframe from two variables"

0

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
Posted by: Guest on January-19-2021

Code answers related to "create dataframe from two variables"

Python Answers by Framework

Browse Popular Code Answers by Language