unify_idx
Description
unify_idx creates a union of the multi-indexes from the given dataframes and fills in the previous values.
Parameters
*args : pandas.DataFrames
Returns
list
: A list of pandas.Dataframes with multi-index
Example
# df_* is financial unpivot cm
uni_a, uni_b, uni_c = FinHelper.unify_idx(df_a, df_b, df_c)
Last updated
Was this helpful?