79293487

Date: 2024-12-19 08:06:55
Score: 1
Natty:
Report link

You can simply groupby the 3 levels and add dropna at the end:

print(t["c1"].groupby(level=[0,1,2]).first().dropna())

1  1  1    1.0
   2  9    2.0
2  1  7    4.0
4  2  2    6.0
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rehaqds