【发布时间】:2017-04-17 01:38:03
【问题描述】:
谁能帮我写一个循环来获取数据列表并检查数据中的值是否大于前一个值并且也大于下一个值。即我试图在一组峰值中找到峰值数据点。
【问题讨论】:
-
展示你的尝试会很好..
-
您好,欢迎来到 StackOverflow。请花一些时间阅读帮助页面,尤其是名为"What topics can I ask about here?" 和"What types of questions should I avoid asking?" 的部分。更重要的是,请阅读the Stack Overflow question checklist。您可能还想了解Minimal, Complete, and Verifiable Examples。
-
没有尝试过,因为我不太了解如何很好地编写循环
标签: python python-2.7 loops scipy