get two variables from dataframe in one variable 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