实践:
index_0 = np.where(maxtide_surge[site]<=0)
参考链接
再确定索引值的位置
data_count[h][1]=list(maxtide_surge[5].loc[index_0]).count(i)
在这里计数需要是list数据类型
实践:
index_0 = np.where(maxtide_surge[site]<=0)
参考链接
再确定索引值的位置
data_count[h][1]=list(maxtide_surge[5].loc[index_0]).count(i)
在这里计数需要是list数据类型