I want to get only those rows in a dataframe where a particular coulmn value is less than some upper bound.
I used to do this:
final_data[final_data['Time']<30.000000]
It gives me the error:
IndexingError: Unalignable boolean Series provided as indexer (index of the boolean Series and of the indexed object do not match
I again tried with:
final_data.loc[:,final_data['Time']<30.000000]
and I get:
IndexingError: Unalignable boolean Series provided as indexer (index of the boolean Series and of the indexed object do not match
How can I implement the filter in pandas based on column value?