NBins

time.NBins(self, bins)

An instance of TimeGrouping. Group the time series into a number of bins where bin boundaries must align with simulation days.

If the time series is not evenly divisible into the given number of bins, you may get more bins than requested (data will not be truncated). You will never get more than one bin per day.

Parameters

bins: int

Approximately how many bins should be in the result?

Attributes

bins: int

Approximately how many bins should be in the result?