AttributeError: 'DataFrame' object has no attribute

前端 未结 4 2028
余生分开走
余生分开走 2021-02-03 22:49

I keep getting different attribute errors when trying to run this file in ipython...beginner with pandas so maybe I\'m missing something

Code:

from panda         


        
4条回答
  •  北海茫月
    2021-02-03 23:32

    value_counts() is now a DataFrame method since pandas 1.1.0

    https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.value_counts.html

提交回复
热议问题