Why do I have to use "," instead of "&" in the code "filter(race == "All Races" , sex == "Both Sexes")". (Improving Your Visualizations 3/11)

filter(race == “All Races” , sex == “Both Sexes”)
Screen Link:


My Code:
Replace this line with your code

What I expected to happen:

What actually happened:

Replace this line with the output/error

In the previous mission, you used “&” between sex and race when applying to filter.
But in this mission , you use “,” and I get error when I use “&”.
How can you explain this disparity?

1 Like

Hello @nextlevellearning123, multiple arguments are equivalent to &