首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
dataframegroupby专题
Pandas报错AttributeError: Cannot access callable attribute 'sort_values' of 'DataFrameGroupBy' objects
完整报错如下: AttributeError: Cannot access callable attribute 'sort_values' of 'DataFrameGroupBy' objects, try using the 'apply' method 报错代码如下: import pandas as pddata = pf.read_csv('test.csv',header =
阅读更多...