Merging Data Frames using Python
Pandas provides a single function merge(), as the entry point for all standard database join operations between DataFrame or named Series objects:
Example:
pd.merge(data,df,left_on=‘datetime_local’,right_on=‘datetime’,how=‘left’)