rendezvous_dataframes¶
- lsst_efd_client.rendezvous_dataframes(left, right, direction='backward', tolerance=Timedelta('20 days 00:00:00'), **kwargs)¶
- Each record in
leftwill be extended with a corresponding record inrightif one exists. By default, the record in
rightwill be the most recent record in the past. The other options are the closest record in the future and the nearest overall.
- Parameters
- left: `pandas.DataFrame`
The
pandas.DataFrameto extend- right: `pandas.DataFrame`
The
pandas.DataFrameto rendezvous withleft- direction: `str`
The direction to search for the nearest record. Default is
backward. The other options areforwardandnearest.- tolerance: `pandas.Timedelta`
The to,e window to search for the matching record
- kwargs: `dict`
Additional keyword arguments will be forwarded to the
pandas.merge_asoffunction
- Each record in