first time here, so I have a data frame that is read from a csv file using Pathlib. It looks something like this
I want to create a new column, called 'Date Check' that verify each date on the date column and return 'True' if a pre-specified condition is met. In this case, return 'True' if the date is the second Monday of every month.
I have no experience with time or datetime library so please explain the code if you are using those.
Thanks !!!
Date | Date Check |
---|---|
2019/01/01 | |
2019/01/02 | |
2019/01/03 | |
2019/01/04 | |
... | |
2021/01/01 | |
2021/01/02 | |
2021/01/03 |