Skip to content
RED SAGSkills
medium10 pts · first answer countspythonpandas

Combining two conditions in a filter

This line raises "The truth value of a Series is ambiguous". What is the correct version?

adults = df[df["age"] > 30 and df["city"] == "Dubai"]
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions