Run »
import pandas as pd a = [1, 7, 2] myvar = pd.Series(a) print(myvar)
0 1 1 7 2 2 dtype: int64