KnowledgeBoat Logo
|

Informatics Practices

To add two DataFrames' values, …………… function may be used.

  1. plus
  2. rplus
  3. add
  4. radd

Python Pandas

3 Likes

Answer

add, radd

Reason — We can add two DataFrame objects using either (+) operator or using add() function as per syntax : <DF1>.add(<DF2>) which means <DF1>+<DF2> or by using radd() function i.e., reverse add as per syntax : <DF1>.radd(<DF2>) which means <DF2>+<DF1>.

Answered By

3 Likes


Related Questions