value_counts is a method of the class ´pandas.Series´, not pandas.DataFrame . It only counts from columns, not dataframes, unlike the R table function. – ...
確定! 回上一頁