我有一个python for循环,似乎有一个变量在循环内自己的变化。我的变量定义: yhat = np.empty((1,len(prices)))
yhat[:] = nan
yhat = yhat.astype('float')
e = Q = yhat
P = R = np.matrix(np.zeros((2,2)))
B = np.empty((2,len(prices)))
我有一个查询,我想闯入大小为200的“块”,并返回每个“块”的开始ID和结束ID。 例子: select t.id
from t
where t.x = y --this predicate will cause the ids to not be sequential
如果例子是,我试图闯入“块”我愿意返回查询: (第1号,第200号),(第201 ID,第400个ID)...(最终范围