interpolate and inspect ozone data heredata.info()***rolling = data.rolling(360)['Ozone']
# Insert the rolling quantiles to the monthly returnsdata['q10'] = rol
在Pandas中,有一个方法DataFrame.shift(n)将数组的内容相对于索引移动n行,类似于np.roll(a,n)。我似乎找不到办法让达斯克有类似的行为。我意识到,像行轮班这样的事情可能很难用达斯克的分块系统来管理,但我不知道有什么更好的方法来将每一行与下一排进行比较。我想要做的是:import pandas as pd
with pd.HDFStore(pat