Get value counts for a column in pandas. Receiving error: AttributeError: 'tuple' object has no attribute 'value_counts'

前端 未结 0 1095
南方客
南方客 2020-12-05 03:22

I imported a csv into pandas and have a dataframe like:

pd.DataFrame({\'city\': [\'New York\', \'Miami\', \'Miami\'], 
          \'state\': [\'New York\', \'F         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题