So essentially I am trying to concatenate two data frames in a Jupyter notebook and to do this I am first setting the index for each data frame to be the date. When I do this it looks like I get a multilevel index with the "3_mo" category in an extra dimension. Do I have to change this somehow?
Once both data frames are formatted and have the same dimension of index then I should be able to just use .concat([df1, df2]) right?
Data Frame 1:
       Date     3_Mo
0   1990-01-02  7.83
1   1990-01-03  7.89
2   1990-01-04  7.84
3   1990-01-05  7.79
4   1990-01-08  7.79
Data Frame 2:
       Date      3_MO
0   1990-01-02  8.375
1   1990-01-03  8.375
2   1990-01-04  8.375
3   1990-01-05  8.375
4   1990-01-08  8.375
Data Frame 1 After set_index('Date'):
            3_Mo
    Date    
1990-01-02  7.83
1990-01-03  7.89
1990-01-04  7.84
1990-01-05  7.79
1990-01-08  7.79
The goal format: How do I get this?
              MDW     ORD
2000-01-01  4384.0  22474.0
2000-02-01  4185.0  21607.0
2000-03-01  4671.0  24535.0
2000-04-01  4419.0  23108.0
2000-05-01  4552.0  23292.0
I would like to have it so I just have one row index and the one column index.
 
     
    