Can be caused by a user using `TimeGrouper` in a `groupby` operation, so will raise a `TypeError`. somewhat rare use case ... most people  don't use this class