Let's say I have the following dataframes
df1
date_time | value1 | column_value
12-Mar-22 17345 17200CE
13-Mar-22 17400 17200PE
....
df2
date_time | value1 | 17200CE | 17200PE | 17300CE | .......
12-Mar-22 17345 23.3 21.2 24.5
13-Mar-22 17345 24.3 22.2 22.5
Now I want add a column in df1 which fetches the value from the column of df2 which corresponds to value in column_value column in df1 and on the same date_time.
So finally it would look like
date_time | value1 | column_value | mapped_value_result
12-Mar-22 17345 17200CE 23.3
13-Mar-22 17345 17200PE 22.2
df2?value1values don't match. Is that a typo, or do you just want to ignore thevalue1column ofdf1?