Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Як можна фільтрувати дані для чоловіків, які придбали товари з категорії "Electronics"?
df.filter(Gender='Male', Product='Electronics')
df.query(Gender = 'Male' and Product = 'Electronics')
df.loc[(df['Gender'] == 'Male') & (df['Product'] == 'Electronics')]
df[(df['Gender'] == 'Male') & (df['Product line'] == 'Electronics')]
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!