title: Pandas - "ValueError: Can only compare identically-labeled Series objects"
body: <p>I have two Dataframes :</p>
  
  <pre><code>db = pd.read_csv('partena_codes.csv', dtype={'code': str})
  
      code     label
  0  00200      Work
  1  00600  Holidays
  2  01000   Illness
  3  15500   Absence
  </code></pre>
  
  <p>and</p>
  
  <pre><code>with open('selections.json') as json_file:
     data = json.load(json_file)
  
  df = pd.DataFrame(data['selections'])
  
  df =&gt; 
  
  description    label  position_id                  startDate  \
  Blablblablabl  Absence          1.0  2017-07-19T19:20:30+01:00   
  
                  stopDate  person_id  
  2017-07-19T20:20:30+01:00     768930  
  </code></pre>
  
  <p>What i'm trying to do is: </p>
  
  <pre><code>select_code = db[(db['label'] == df['label'])]
  </code></pre>
  
  <p>But i'm stuck with that Error :</p>
  
  <pre><code>ValueError: Can only compare identically-labeled Series objects
  </code></pre>