SyntaxFix
Write A Post
Hire A Developer
Questions
I would simply do this, which literally follows what your desired logic was:
df.groupby(['org']).mean().groupby(['cluster']).mean()