df = pd.DataFrame(np.random.randint(0, 332801, 10), columns=['val'])
df
bins = [-np.inf, 59863.0, 86855.0, 125250.0, 332801]
Trying to convert pandas df series of floats to one of four categorical values based on there respective locations in the series quartiles