Deal with Several Conditions
Veeg om het menu te tonen
If you want to implement several conditions, you can do this easily.
- If you want to check dataset for the first and second condition to be True, just use
&statement:
DataFrame.loc[condition1 & condition2]
- If you want to check dataset for the first or the second condition to be True, just use
|statement:
DataFrame.loc[condition1 | condition2].
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 3. Hoofdstuk 14
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Sectie 3. Hoofdstuk 14