def total_seconds(td):
        """ Total seconds of a timedelta

        For Python 2.6 compatibility
        """
        return (td.microseconds + 1e6 * (td.seconds + 24 * 3600 * td.days)) / 1e6
dataset/ETHPy150Open blaze/blaze/blaze/compute/pydatetime.py/total_seconds/original