I have a column in a dataframe which contains numeric values (such as age) and want to bin it into several categories (or ranges) like so:
df[\'Age_binned\'] =