resample#
- lsst_efd_client.resample(df1, df2, interp_type='time')#
Resample one DataFrame onto another.
- Parameters:
df1 (
pandas.DataFrame
) – FirstDataFrame
.df2 (
pandas.DataFrame
) – SecondDataFrame
.interp_type (
str
, optional) – Type of interpolation to perform (default is ‘time’).
- Returns:
result – The resulting resampling is bi-directional. That is the length of the resulting
DataFrame
is the sum of the lengths of the inputs.- Return type: