0
df = pd.DataFrame({"Columns1":[A, B, C, D]})

df2 = pd.DataFrame({"Columns1":[A, B, C]})

As you seen the difference between two data frame is D becouse it is in df and there is not in df2

how can i use pandas or other to find the difference and replace it in new data frame ?

swap ks
  • 17
  • 4

0 Answers0