I am trying to drop some specific rows in a DataFrame df
where, the column Time
is anything except 06:00:00
. I tried the following code but it dosen't seem to work. I even tried adding another column Index to my file to aid the process but still it is not working. Can you please help me. I am attaching the screenshots.
The val just contains the specific time 06:00:00
. Also, please ignore the variable req
. Thanks a lot.