I have the following dataframe
response
01/09/2020 07:00:00 AM 1.345
01/09/2020 07:01:00 AM 2.567
01/09/2020 07:02:22 AM 5.999
01/09/2020 07:03:30 AM 4.800
01/09/2020 07:04:07 AM 8.720
01/09/2020 07:05:09 AM 0.999
...
02/05/2020 11:57:42 PM 8.213
02/05/2020 11:58:03 PM 2.873
02/05/2020 11:59:55 PM 3.875
I want to filter out rows that correspond to this list of dates
list = [01/10/2020, 01/11/2020, 01/14/2020, 01/16/2020, 01/20/2020, 02/01/2020, 02/03/2020, 02/04/2020]
There are multiple times corresponding to days and I want to keep all of them and drop only the rows that are not in the list of dates.
I am new to Python and have been struggling with this for quite some time, any help will be greatly appreciated. Thank you!
list. Call it list1 or something. It will overwrite what a list is to Python.