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