热门标签
更多>
搜索结果
查询Tags标签: neigh,共有 2条记录-
python-相邻数据比值
## 相邻两个数据求比值 def neigh_rate(data):neigh_rate = {} # neigh_rate = [] # 报错 list assignment index out of rangefor i in range(len(data)):for j in range(i+1, len(data)):neigh_rate[i] = data[j] / data[i]result = list(neigh_rate.values()) # 提取…
2021/11/21 12:40:00 人评论 次浏览 -
python-相邻数据比值
## 相邻两个数据求比值 def neigh_rate(data):neigh_rate = {} # neigh_rate = [] # 报错 list assignment index out of rangefor i in range(len(data)):for j in range(i+1, len(data)):neigh_rate[i] = data[j] / data[i]result = list(neigh_rate.values()) # 提取…
2021/11/21 12:40:00 人评论 次浏览