bucket size generators
implemented conversion from Series to PeriodicSeries