pandas access by index code example Example 1: pandas dataframe show one row df.iloc[0,:] Example 2: get column pandas column = df["column_name"]