title: Filtering pandas dataframe on multiple conditions using loc returns empty dataframe
body: <p>I am trying to filter my dataframe on multiple conditions using loc</p>
  <p>The data is coming from an Excel file that I imported into the dataframe using df = pd.read_csv()</p>
  <p>Here is sample structure from the df using df.head() :</p>
  <p><a href="https://i.stack.imgur.com/iIy18.png" rel="nofollow noreferrer">df.head()</a></p>
  <p>and I need to filter on the following criteria: State-Gov, Bachelors, Never-Married, Adm-Clerical, Not-in-family, White, Male, United States, &lt;=50k</p>
  <p>Here is the code that I wrote. It returns the correct columns, but no rows the df is empty :</p>
  <pre><code>df.loc[(df['Sector']=='State-Gov') &amp; (df['Education']=='Bachelors') &amp; (df['Married']=='Never-Married') &amp; 
     (df['Job']=='Adm-Clerical') &amp; (df['Family']=='Not-in-Family') &amp; (df['Race']=='White') &amp; (df['Gender']=='Male') &amp; 
     (df['Location']=='United-States') &amp; (df['Income']=='&lt;=50k'), ['Sector', 'Education', 'Married', 'Job', 'Family', 'Race', 'Gender', 'Location', 'Income']]
  </code></pre>
  <p>Any help is appreciated, thank you!</p>