import pandas as pd import warnings import os import pickle #Assume that A is the longer df meas combined = link_dataframes(A, B, 'ref') all(combined['A'] == A) merged = link_dataframes(meas, gps, 'Datetime', unique_col="PCI")