What is the average satisfaction by device?
Show code
print(df.groupby('device')['satisfaction'].mean())…
An interactive analysis app — published with MakeMode Notebook. Code is hidden by default (see “Show code” under any question); nothing here is a black box.
Data: design-study-sample.csv · 120 rows — embedded in this page.
print(df.groupby('device')['satisfaction'].mean())import matplotlib.pyplot as plt
df.groupby('age_group')['task_minutes'].mean().plot(kind='bar')
plt.show()