I have a dataframe that looks like this: It captures the specific time (at minute level) when a particular event happened.
+---------------------+
| time |
+---------------------+
| 2021-01-01 08:01:00 |
+---------------------+
| 2021-01-01 09:32:00 |
+---------------------+
| 2021-01-02 12:01:00 |
+---------------------+
| 2021-01-02 16:30:00 |
+---------------------+
| ... |
+---------------------+
| ... |
+---------------------+
| 2021-01-31 06:01:00 |
+---------------------+
I would like to create a new separate dataframe that contains minute-level timestamps from 2021-01-01 00:00:00 to 2021-01-31 11:59:00 where the time is NOT listed in the dataframe above.
It would look sth like this:
+---------------------+
| time |
+---------------------+
| 2021-01-01 00:00:00 |
+---------------------+
| 2021-01-01 00:01:00 |
+---------------------+
| ... |
+---------------------+
| 2021-01-01 08:00:00 |
+---------------------+
| 2021-01-01 08:02:00 |
+---------------------+
| ... |
+---------------------+
| 2021-01-01 09:31:00 |
+---------------------+
| 2021-01-01 09:33:00 |
+---------------------+
| ... |
+---------------------+
| 2021-01-02 12:00:00 |
+---------------------+
| 2021-01-02 12:02:00 |
+---------------------+
| ... |
+---------------------+
| 2021-01-02 16:29:00 |
+---------------------+
| 2021-01-02 16:31:00 |
+---------------------+
| ... |
+---------------------+
| 2021-01-02 06:00:00 |
+---------------------+
| 2021-01-02 06:02:00 |
+---------------------+
What is an elegant way to do this?
Much appreciation for your help!