Update values in DataFrame with values from another DataFrame

AleksandraFrolo
New Contributor III

Hi, I have to data sources: "admin table" which contains active and inactive employees and I have "hr table" which contains only active employees.

I need to update admin table with data from hr table:

Untitled.png

You can see that I need to update employee with number 153, so manager should be update from David to Laura.

I use method update(), but I get error Untitled.png

How can I solve the problem?

Thanks