Mar-28-2017, 02:40 PM
I hope you are all having a good day. I have a question in regards to the value_counts method. Why does the following code not work:
sal[sal['JobTitle'].value_counts()==1]
The error message is:
IndexingError: Unalignable boolean Series key provided
sal[sal['JobTitle'].value_counts()==1]
The error message is:
IndexingError: Unalignable boolean Series key provided