df = pd.DataFrame([[1, 2], [3, 4]], ['a', 'b'], ['A', 'B']) df['A'].iloc # first item in a Series (Column)
Here is what the above code is Doing:
1. We create a DataFrame with two rows and two columns.
2. We select the first item in the first column.
3. We print the result.