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