How to select a column with spaces in pandas dataframe and do logical operation. Below is the Code,
not_poodle = mpr[['Dog Breed'] != 'Poodle']
In the above code I am trying to select a column name with "Dog Breed' and doing the not equal comparison with Poodle. But it is throwing error