ResamplingΒΆ

All supported resampling APIs

Indexing, iteration

Resampler.get_group(name[, obj])

Resampler.groups

Resampler.indices

Dict {group name -> group indices}.

Function application

Resampler.aggregate([func])

Resampler.apply([func])

Resampler.pipe(func, *args, **kwargs)

Resampler.transform(arg, *args, **kwargs)

Upsampling

Resampler.asfreq([fill_value])

Return the values at the new freq, essentially a reindex.

Resampler.backfill([limit])

Resampler.bfill([limit])

Backward fill the new missing values in the resampled data.

Resampler.ffill([limit])

Forward fill values for missing resample bins.

Resampler.fillna(method[, limit])

Fill missing values introduced by upsampling.

Resampler.interpolate([method, axis, limit, ...])

Resampler.nearest([limit])

Computations / descriptive stats

Resampler.count()

Compute count of resample bins, exclude missing values.

Resampler.first([numeric_only, min_count, ...])

Compute the first entry of each column within each group.

Resampler.last([numeric_only, min_count, skipna])

Compute the last entry of each column within each group.

Resampler.max([numeric_only, min_count])

Compute maximum of resample bins.

Resampler.mean([numeric_only])

Compute mean of resample bins.

Resampler.median([numeric_only])

Compute median of resample bins.

Resampler.min([numeric_only, min_count])

Compute minimum of resample bins.

Resampler.nunique(*args, **kwargs)

Return number of unique elements in the group.

Resampler.ohlc(*args, **kwargs)

Resampler.pad([limit])

Resampler.prod([numeric_only, min_count])

Resampler.quantile([q])

Return value at the given quantile.

Resampler.sem([ddof, numeric_only])

Resampler.std([ddof, numeric_only])

Compute standard deviation of resample bins.

Resampler.size()

Compute group sizes.

Resampler.sum([numeric_only, min_count])

Compute sum of resample bins.

Resampler.var([ddof, numeric_only])

Compute variance of resample bins.