« first day (2426 days earlier)      last day (927 days later) » 

5:20 PM
@roganjosh. Okay, but this is the merge result for MCVE below:

import pandas as pd

df1 = pd.DataFrame(
{
'ID':[1,2,3,5,9],
'col_1': [1,2,3,4,5],
'col_2':[6,7,8,9,10],
'col_3':[11,12,13,14,15],
'col_4':['apple', 'apple', 'apple', 'apple', 'apple']
}
)

df2 = pd.DataFrame(
{
'ID':[1,1,3,5],
'col_1': [8,9,10,11],
'col_2':[12,13,15,17],
'col_3':[12,13,14,15],
'col_4':['apple', 'apple', 'apple', 'apple']
}
)

pd.merge(df1, df2, on='col_4')
 
1 message moved from Python
 

« first day (2426 days earlier)      last day (927 days later) »