KnowledgeBoat Logo
|

Informatics Practices

Function rsub() and operator - give the same result.

Python Pandas

3 Likes

Answer

False

Reason — The rsub() function and the '-' operator in pandas do not produce the same result because the rsub() function performs reverse subtraction, which means it subtracts the left operand from the right, while the '-' subtracts the right operand from the left operand.

Answered By

1 Like


Related Questions