Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Як згрупувати дані за містом та знайти середню суму покупок?
df.mean('City')['Total']
df.groupby('City')['Total'].mean()
df.group_by('City').avg('Total')
df.groupby('Total')['City'].mean()
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!