《python 数据分析与挖掘实战》中,执行3-3的代码报错。

第10行:

data.sort(ascending = False)

改为:

data.sort_index(ascending = False)

python 报错'Series' object has no attribute 'sort'

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2021-12-17
  • 2022-01-07
  • 2021-09-02
  • 2021-10-16
  • 2022-01-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2021-04-07
相关资源
相似解决方案