問題文
A fraud review needs the rows where the amount is above a limit and the channel is not the internal one, expressed as one condition in a single filter call. How are the two parts combined?
選択肢
- Chain two filter calls, with a row-level check of the batch, because a single call accepts only one comparison.
- Pass the two expressions as separate positional arguments to the filter method, which treats several arguments as a conjunction.
- Combine the two column expressions, with the bitwise and operator, and wrap each part in parentheses.
- Use the Python keyword for a logical conjunction between the two expressions, because column objects support the keyword directly.