import pandas as pd a = [1,7,2]myvar = pd.Series(a)print(myvar)
Standard input is empty
0 1 1 7 2 2 dtype: int64
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!