I have two Pandas dataframes that are concatenated by column. The left dataframe is keyed as "Old" and the right dataframe is keyed as "New". Each dataframe has the same column names and I'd like to be about to sort_values by one of the "New" columns. I can't seem to access sort though due to the "Old" and "New" keys. Anyone have a work around? Thanks.
Edit#1 - Code example (want to sort by ['New']['Col1'] in df_combined:
df1=pd.DataFrame({'Col1' : [1, 2, 3, 4], 'Col2' : [4, 4, 5, 6], 'Col3' : [11,
12, 13, 14]})
df2=pd.DataFrame({'Col1' : [7, 1, 51, 6], 'Col2' : [90, 99, 99, 97], 'Col3' :
[11, 12, 13, 14]})
df_combined=pd.concat([df1, df2], axis='columns', keys=['Old','New'])