So I have a dataframe called "myData"
print(myData)
ID Name Status AGE
123 Mike Yes 18
124 John No 20
125 Lily Yes 21
126 Jasper No 24
127 Toby Yes 27
128 Will No 19
129 Oscar Yes 32
I received an updated dataframe that has updated "Status" called "myData2". This dataframe has less observations than my original one and only has ID and Status.
This is the updated dataframe
print(myData2)
ID Status
123 Yes
125 Yes
126 Yes
128 No
129 No
Is there function where I can update 'Status' column in myData with the data in myData2 using the column "ID"?
This is my desired ouput
ID Name Status AGE
123 Mike Yes 18
124 John No 20
125 Lily Yes 21
126 Jasper Yes 24
127 Toby Yes 27
128 Will No 19
129 Oscar No 32