Apologies if this is a simple question, but let's assume I have multiple pandas data frames that look like this:
name date value
'a' '2018-07-28' 0
'a' '2018-07-29' 1
And another that looks like this:
name date value
'b' '2018-07-28' 2
'b' '2018-07-29' 3
And essentially what I want to do is create a GroupBy or another dataframe that contains
date name value
'2018-07-28' 'a' 0
'2018-07-28' 'b' 2
'2018-07-29' 'a' 1
'2018-07-29' 'b' 3
There has to be a simple way to do this, but I am not sure.
The two original dataframes I get by iterating through a method which returns each dataframe one by one.
Thanks!