def trimone(x, front=0, back=0, axis=0):
    shape = np.array(x.shape)
    shape[axis] -= (front + back)
    #print(shape, front, back
    shapearr = np.array(x.shape)
    startind = np.zeros(x.ndim)
    startind[axis] = front
    endind = startind + shape
    myslice = [slice(startind[k], endind[k]) for k in range(len(endind))]
    #print(myslice
    #print(shape, endind
    #print(x[tuple(myslice)].shape
    return x[tuple(myslice)]
Clear the _objs dictionary, and call each obj.shutdown() routine.
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/tsa/varma_process.py/trimone--crossover with--dataset/ETHPy150Open coreemu/core/daemon/core/session.py/Session.delobjs