【问题标题】:how to solve - AttributeError in Python如何解决 - Python 中的 AttributeError
【发布时间】:2022-06-15 21:36:23
【问题描述】:

根据我的公司标准,我已经声明了 float 变量并尝试运行该块,但我得到了以下错误- AttributeError:“numpy.float64”对象没有属性“iloc”

【问题讨论】:

  • 你能发布你的代码吗?您的问题很可能是您的变量是 numpy float 而不是 pandas 数据框。

标签: python python-3.x numpy python-2.7 numpy-ndarray


猜你喜欢
  • 2017-11-08
  • 2011-09-13
  • 2021-12-30
  • 2021-11-08
  • 2020-11-12
  • 2021-04-06
  • 2022-12-04
  • 2022-11-11
  • 2023-02-17
相关资源
最近更新 更多