title: How to get the first value from the pd.cut range
body: <p>I have a data frame as follows</p>
  <pre><code>    COLUMN-1    
  6   2200        
  51  4699        
  126 5139        
  133 3900      
  240 5301   
  </code></pre>
  <p>I have a used <code>pd.cut</code> in a data frame and stored the values in a new column. The data frame now looks like this</p>
  <pre><code>    COLUMN-1    NEW-COLUMN
  6   2200        (2100, 2400]
  51  4699        (4500, 4800]
  126 5139        (5100, 5400]
  133 3900        (3600, 3900]
  240 5301        (5100, 5400]
  </code></pre>
  <p>But I want only the first element from the range like this</p>
  <pre><code>    COLUMN-1    BIN
  6   2200        2100
  51  4699        4500
  126 5139        5100
  133 3900        3600
  240 5301        5100
  </code></pre>
  <p>I am not sure how to achieve this. I tried using the <code>labels</code> attribute</p>
  <pre><code>lst = [i for i in range(0, 11481, 300)]
  df['NEW-COLUMN'] = pd.cut(crashes_pulaski['COLUMN-1'], 300, labels=lst)
  </code></pre>
  <p>but this results in the following error message.</p>
  <pre><code>ValueError: Bin labels must be one fewer than the number of bin edges
  </code></pre>