CBSE Class 12 Informatics Practices
Question 54 of 101
Python Pandas — II — Question 9
Back to all questionsFalse
Reason — The '-' operator in pandas subtracts the right operand from the left operand, similar to the sub() function. However, the rsub() function subtracts the left operand from the right operand. Therefore, '-' and sub() produce the same result, while rsub() produces a different result due to the order of operands.