resample

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

Resample one DataFrame onto another.

Parameters
df1pandas.DataFrame

First pandas.DataFrame.

df2pandas.DataFrame

Second pandas.DataFrame.

interp_typestr, optional

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

Returns
resultpandas.DataFrame

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