Deal with Several Conditions
メニューを表示するにはスワイプしてください
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].
すべて明確でしたか?
フィードバックありがとうございます!
セクション 3. 章 14
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください
セクション 3. 章 14