This code snippet is from one of my script which works fine in current panda version (0.23) but Panel is deprecated and will be removed in a future version.
panel = pd.Panel(dict(df1=dataframe1,df2=dataframe2))
diff_output = diff_panel.apply(report_diff, axis=0)
Can someone please help me in translating this which is compatible with the latest version of panda? Its say use .to_xarray or pandas.to_frame()