title: Python Pandas Create New Bin/Bucket Variable with pd.qcut
body: <p>How do you create a new Bin/Bucket Variable using pd.qut in python?</p>
  
  <p>This might seem elementary to experienced users but I was not super clear on this and it was surprisingly unintuitive to search for on stack overflow/google. Some thorough searching yielded this (<a href="https://stackoverflow.com/questions/14959722/assignment-of-qcut-as-new-column">Assignment of qcut as new column</a>)   but it didn't quite answer my question because it didn't take the last step and put everything into bins (i.e. 1,2,...).</p>