0

I have an input data frame that looks similar to this, where the value-entries are area:

input data frame format

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:

target data frame format

My goal is that I can then use e.g. factorplot from Seaborn to plot area vs. frame categorized by cell_rank.

packoman
  • 1,087
  • 11
  • 32

0 Answers0