how to get one row with columns in pandas code example
Example 1: pandas get row from column value
df.loc[df['column_name'] == some_value]
Example 2: pandas dataframe show one row
df.iloc[0,:]
df.loc[df['column_name'] == some_value]
df.iloc[0,:]