import pandas as pd # Creating Series: s1 = pd.Series([2.0, 3.5, 6.2, 9.1], name='x-coor') s2 = pd.Series([-1.0, 0.0, 3.3], name='y-coor') # Creating DataFrame: df = pd.concat([s1, s2], axis=1) print('s1 =', s1, '\n') print('df =', df, '\n') print('Data type of s1:', type(s1)) print('Data type of df:', type(df))