AttributeError:'DataFrame'对象没有属性'open'吗?

时间:2019-06-18 18:17:54

标签: python-3.x

代码:

showAll

AttributeError
追溯(最近一次通话)  在()

---->

   m = np.mean(df1.open)

  s = np.std(df1.open)

  df1 = df1[df1['open'] <= m + 2*s]

  df1 = df1[df1['open'] >= m - 2*s]

  df1.shape

AttributeError:'DataFrame'对象没有属性'open'

0 个答案:

没有答案