Answer the question
In order to leave comments, you need to log in
How to match records in Pandas?
I have two data frame
name id
Ivan 1
Oleg 13
Vitaliy 7
id value
7 250
1 150
13 200
I need to match by id from the second date frame to the first value (value). That is, the value 250 will be written Vitaliy, etc. I came up with the idea to loop through the records and write the values, but I'm not sure if this is the right method.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question