Is there a pandas operation that allows me to fill Nan values with a categorical MultiIndex Dataframe?

20 Views Asked by At

Below is the general form of the Dataframe

screen shot of Hierarchical Dataframe

Is there a solution to where I could replace those Nan values with the column values of the same 'Order ID' Index?

I've already tried pd.melt and pd.pivot to try to tidy this data, where it seems already tidy, just with missing values I'm needing to reformat.

0

There are 0 best solutions below