how to put two variables into dataframe in python code example
Example: 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
pd.DataFrame({'r': r, 's': s})
Out:
r s
0 0 0
1 3 5
2 6 10
3 9 15
4 12 20