title: Error message: ValueError: Buffer has wrong number of dimensions (expected 1, got 0)
body: <p>The error is occuring in this line of my code: </p>
  
  <pre><code>df_temp[i] = df_selected['Demand'].loc[mask].values
  </code></pre>
  
  <p>The full error comes up as:</p>
  
  <blockquote>
    <p>File "pandas\lib.pyx", line 1544, in pandas.lib.get_blkno_indexers
    (pandas\lib.c:26770)</p>
    
    <p>ValueError: Buffer has wrong number of dimensions (expected 1, got 0)</p>
  </blockquote>
  
  <p>Would love to know if anyone knows what this means!</p>