Skip to content
RED SAG Skills
hard20 pts · first answer countsratio-analysispythonprofitability

Averaging margins across stores

df has one row per store with revenue, ebit and ebit_margin columns. An analyst reports regional margins with this code. What is the flaw?

region_margin = df.groupby('region')['ebit_margin'].mean()
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions