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, 2.1], name='y-coor') # Creating DataFrame: df = pd.concat([s1, s2], axis=1) print('s1 ='); print(s1); print('') print('df ='); print(df); print('') print('Data type of s1:', type(s1)) print('Data type of df:', type(df))