Seria Pandy Wybierz pierwszą wartość
df = pd.DataFrame([[1, 2], [3, 4]], ['a', 'b'], ['A', 'B'])
df['A'].iloc[0] # first item in a Series (Column)
Light Lynx
df = pd.DataFrame([[1, 2], [3, 4]], ['a', 'b'], ['A', 'B'])
df['A'].iloc[0] # first item in a Series (Column)