how to print specific rows in pandas code example
Example 1: pandas dataframe show one row
df.iloc[0,:]
Example 2: select specific rows from dataframe in python
select_color = df.loc[df['Color'] == 'Green']
df.iloc[0,:]
select_color = df.loc[df['Color'] == 'Green']