pandas dataframe select columns by index code example Example: get column pandas column = df["column_name"]