title: Pandas Divide dataframe by index values
body: <p>I am trying to divide all columns in the dataframe by the index.(1221 rows, 1000 columns)</p>
  
  <pre><code>           5000058004097  5000058022936  5000058036940  5000058036827  \
  
  91.0        3.667246e+10   3.731947e+12   2.792220e+14   2.691262e+13   
  94.0        9.869027e+10   1.004314e+13   7.514220e+14   7.242529e+13   
  96.0        2.536914e+11   2.581673e+13   1.931592e+15   1.861752e+14
  ...
  </code></pre>
  
  <p>Here is the code I have tried...</p>
  
  <pre><code>A = SHIGH.divide(SHIGH.index, axis =1) 
  </code></pre>
  
  <p>and I get this error:</p>
  
  <pre><code>ValueError: operands could not be broadcast together with shapes (1221,1000) (1221,) 
  </code></pre>
  
  <p>I have also tried</p>
  
  <pre><code>A = SHIGH.divide(SHIGH.index.values.tolist(), axis =1)
  </code></pre>
  
  <p>and also  reindexing and using the column to divide and get the same error. </p>
  
  <p>If someone could please point out my mistake it would be much appreciated. </p>