利用Python进行数据分析第二章所遇的问题

问题一:  原文,使用group by 或pivot_table在year和sex级别上对其进行聚合  实例代码:   total_births =names.pivot_table('births',rows='year',cols='sex',aggfunc=sum) 按照实例敲了之后,提示:TypeError: pivot_table() got an unexpected keyword
相关文章
相关标签/搜索