resample

lsst_efd_client.resample(df1, df2, interp_type='time')

Resample one DataFrame onto another.

Parameters
df1pd.DataFrame

First pd.DataFrame.

df2pd.DataFrame

Second pd.DataFrame.

interp_typestr, optional

Type of interpolation to perform (default is ‘time’).

Returns
resultpd.DataFrame

The resulting resampling is bi-directional. That is the length of the resulting pd.DataFrame is the sum of the lengths of the inputs.