I have an input data frame that looks similar to this, where the value-entries are area:
There are an arbitrary number of frames and columns and some of the columns 0, 1, ... will have NaN values for some frames.
I would like to "massage" this it into a format like this:
My goal is that I can then use e.g. factorplot from Seaborn to plot area vs. frame categorized by cell_rank.