I have a dataframe "A" with the following shape
log P1 P2 P3 P4 P5 Method Round #TSamples #Samples0 #Samples1 FP TN TP FN Time Det_Time
data1 2 0 0 0 LOF 1 3 3 0 0 3 0 0 0.00800108909606934 1
data1 2 0 0 0 Mahalanobis 1 3 3 0 0 3 0 0 0.00100016593933105 1
data1 2 0 0 0 Cook 1 3 3 0 0 3 0 0 0.00900101661682129 1
...........
And another dataframe "B" with
log P1 P2 P3 P4 P5 Method Round #TSamples #Samples0 #Samples1 FP TN TP FN Time Det_Time
data1 2 0 0 0 Mahalanobis 1 3 3 0 0 3 0 0 0.00200080871582031 1
data1 3 0 0 0 Mahalanobis 1 3 3 0 0 3 0 0 0.000999927520751953 1
Basically, I would like to replace the rows "FP", "TN", "TP" and "FN" from the dataframe A from those from dataframe B when the columns "P1", "P2", "P3", "P4", "P5", "Method" and "Round" match in both A and B dataframe.
Raúl