Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd a = [1, 7, 2] myvar = pd.Series(a, index = ["x", "y", "z"]) print(myvar["y"])
7