title: Pandas: `item` has been deprecated
body: <p>So far I used this line of code here:</p>
  
  <pre><code>max_total_gross = event_data["max_total_gross"].loc[event_data["event_id"] == event_id].item()
  </code></pre>
  
  <p>Since I updated Pandas I receive the future warning:</p>
  
  <blockquote>
    <p>/opt/conda/lib/python3.7/site-packages/ipykernel_launcher.py:12:
    FutureWarning: <code>item</code> has been deprecated and will be removed in a
    future version   if sys.path[0] == '':</p>
  </blockquote>
  
  <p>I tried to fix it that way, but it's not the same outcome:</p>
  
  <pre><code>event_data.loc[event_data.event_id == event_id, 'max_total_gross']
  </code></pre>
  
  <p>I expected a single integer.</p>