splitvar/splitvar.py
def sum_timedelta(var, dim=None, **kwargs):
    """
    When resampling a time delta need to sum all the individual periods
    """
    if dim is not None:
        axis = var.get_axis_num(dim)
        return var.sum(axis=axis)

    return var.sum()

    When resampling a time delta need to sum all the individual periods
    
When resampling a time delta need to sum all the individual periods
When resampling a time delta need to sum all the individual periods
def sum_timedelta(var, dim=None, **kwargs):
    if dim is not None:
        axis = var.get_axis_num(dim)
        return var.sum(axis=axis)
    return var.sum()
def sum_timedelta ( var , dim = None , ** kwargs ) : if dim is not None : axis = var . get_axis_num ( dim ) return var . sum ( axis = axis ) return var . sum ( )
When resampling a time delta need to sum all the individual periods
When resampling a time delta need to sum all the individual periods
"""
    When resampling a time delta need to sum all the individual periods
    """
var
dim