pandas.tseries.resample.Resampler.nunique

Resampler.nunique(_method='nunique')

Returns number of unique elements in the group