title: Indexing dataframes with date index
body: <p>I previously asked on <a href="https://stackoverflow.com/questions/71859494/problems-indexing-dictionary-with-date-index">this question</a> how to properly get the item in the &quot;PM&quot; column of the produced dataframe that has the index given by date_index. This solution provided in the answers worked:</p>
  <pre><code>date_index = '2021-12-31'
  dct['Station_1']['PM'].loc[date_index, &quot;PM&quot;]
  </code></pre>
  <p>and would give me the PM value that was listed in the example dataframes provided in that question.</p>
  <p>However, now when i run the above code, I get output like this:</p>
  <pre><code>DATE
  2021-12-31    50
  Name: PM, dtype: int64
  
  </code></pre>
  <p>I'm not sure what this information is. The structure of my spreadsheets that I run through is the same, two columns each with <code>DATE</code> and <code>PM</code>. All I still want is that lone 50, output alone. Can someone help me with that, and maybe help me figure out why the output of code that worked now outputs something else?</p>