@property
    def _dtype(self):
        if units.index('day') >= units.index(self.unit):
            return datashape.date_
        else:
            return datashape.datetime_
dataset/ETHPy150Open blaze/blaze/blaze/expr/datetime.py/DateTimeTruncate._dtype/original