select element from certain row and column code example
Example 1: pandas iloc select certain columns
dataframe.iloc[:,[1,2]]
Example 2: select specific rows from dataframe in python
select_color = df.loc[df['Color'] == 'Green']
dataframe.iloc[:,[1,2]]
select_color = df.loc[df['Color'] == 'Green']