我正在尝试显示easygui
消息框,但对于我的生活,我无法弄清楚它为什么不显示。我认为我的std
是一个DataFrame,这就是我使用any()
函数的原因。
但是当我运行此脚本时,消息框不会显示。任何有关如何运行的建议都将不胜感激!
import pandas as pd
import easygui
import matplotlib.pyplot as plt
import matplotlib.animation as animation
def animate(i):
data = pd.read_csv("C:\\Users\\Desktop\\data_test6.txt", sep="\[|\]\[|\]",engine = 'python', header = None)
data = data.iloc[0, ::4]
data = data.astype(str).apply(lambda x: x.split(',')[-1]).astype(float)
data.pop(0)
xar = range(len(data))
yar = pd.DataFrame(data)
yar = yar[1050:len(data)]
xar = xar[1050:len(data)]
#std = pd.rolling_std(yar,1000).plot(style='b')
std = yar.rolling(window=1000).std()
mean = yar.rolling(window=1000).mean()
if any(std>0.0006):
easygui.msgbox('Alert!', 'Dialog Box 1')
ax1.clear()
ax1.set_xlabel("Test")
ax2.clear()
ax3.clear()
ax1.plot(xar,std)
ax2.plot(xar,mean)
ax3.plot(xar,yar)
fig, (ax1, ax2, ax3) = plt.subplots(3, sharex = True)
ani = animation.FuncAnimation(fig, animate, interval=.01)
plt.show()
我的数据流式传输到文本文件中,如下所示:
[0.0263671875, 0.0400390625, 1.0048828125][0.017578125, 0.029296875, 0.8486328125][0.017578125, 0.029296875, 0.8486328125][0.017578125, 0.029296875, 0.8486328125][0.017578125, 0.029296875, 0.8486328125][0.017578125, 0.029296875, 0.8486328125][0.017578125, 0.029296875, 0.8486328125][0.017578125, 0.029296875, 0.8486328125][0.0224609375, 0.037109375, 1.046875][0.0224609375, 0.037109375, 1.046875][0.0224609375, 0.037109375, 1.046875][0.0224609375, 0.037109375, 1.046875][0.0224609375, 0.037109375, 1.046875][0.0224609375, 0.037109375, 1.046875][0.0224609375, 0.03515625, 1.0029296875][0.0224609375, 0.03515625, 1.0029296875][0.0224609375, 0.03515625, 1.0029296875][0.0224609375, 0.03515625, 1.0029296875][0.0224609375, 0.03515625, 1.0029296875][0.0224609375, 0.03515625, 1.0029296875][0.0224609375, 0.03515625, 1.0029296875][0.0224609375, 0.03515625, 1.0029296875][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.0224609375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0078125][0.021484375, 0.0361328125, 1.0078125][0.021484375, 0.0361328125, 1.0078125][0.021484375, 0.0361328125, 1.0078125][0.021484375, 0.0361328125, 1.0078125][0.021484375, 0.0361328125, 1.0078125][0.021484375, 0.0361328125, 1.0078125][0.021484375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0068359375][0.0224609375, 0.0361328125, 1.0068359375][0.0224609375, 0.0361328125, 1.0068359375][0.0224609375, 0.0361328125, 1.0068359375][0.0224609375, 0.0361328125, 1.0068359375][0.0224609375, 0.0361328125, 1.0068359375][0.0224609375, 0.0361328125, 1.0068359375][0.0224609375, 0.0361328125, 1.0068359375][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.021484375, 0.0361328125, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.0341796875, 1.0087890625][0.0224609375, 0.0341796875, 1.0087890625][0.0224609375, 0.0341796875, 1.0087890625][0.0224609375, 0.0341796875, 1.0087890625][0.0224609375, 0.0341796875, 1.0087890625][0.0224609375, 0.0341796875, 1.0087890625][0.0224609375, 0.0341796875, 1.0087890625][0.0224609375, 0.0341796875, 1.0087890625][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.0361328125, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.0224609375, 0.0341796875, 1.0078125][0.0224609375, 0.0341796875, 1.0078125][0.0224609375, 0.0341796875, 1.0078125][0.0224609375, 0.0341796875, 1.0078125][0.0224609375, 0.0341796875, 1.0078125][0.0224609375, 0.0341796875, 1.0078125][0.0224609375, 0.0341796875, 1.0078125][0.0224609375, 0.0341796875, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.021484375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0078125][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.0224609375, 0.03515625, 1.0087890625][0.021484375, 0.03515625, 1.0087890625]
答案 0 :(得分:0)
根据@DavidG的建议,使用numpy.any
可以解决我的问题。