Let's say I have a dataframe in python like below:
DateTime A, B
12/03/2020 1, 40
12/03/2020 2, 30
13/03/2020 12, 32
13/03/2020 90, 2
I want to split these into two dataframes each with unique dates like below
df1
DateTime, A, B
12/03/2020 1, 40
13/03/2020 12, 32
df2
DateTime, A, B
12/03/2020 2, 30
13/03/2020 90, 2
The order is important. I.e. The first date of each couple should all be in one dataframe and the second date in another.
How can one achieve this in pandas?
NB: this answer, chosen as duplicate does not help me. I am trying to achieve something different.