I have a df like this-
+---+---+----+ | ts| p1| p2 | +---+---+------ |200|[1]| null| |220|[2]| [2] | |240|[3]| [4] | |250|[3]| [4] | +---+---+-----+