I tried
df = df.loc[20000 <= df['column'] <= 100_000]
but got the error
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()
I thought pandas supported such notation?
What am I meant to do instead?
df.loc[df['column'].between(1,10)], you can't chain series as native python like that