I have a column called key_resp_5_rt and in it I would like to remove any rows that are under 300ms (it is a reaction time column)
for filename in files:
try:
df=pd.read_csv(filename)
df['key_resp_5.rt']
Can someone tell me if this code underneath can remove rows with rt's under 0.3 seconds?
df[df['key_resp_5.rt'] > 0.3]
When I check afterwards the rows with values lower than 0.3 are still there and I can't figure out why