Get your own Python server Result Size: 625 x 565
x
 
import pandas as pd
a = [1, 7, 2]
myvar = pd.Series(a, index = ["x", "y", "z"])
print(myvar)
x    1
y    7
z    2
dtype: int64