How to fix AttributeError: 'Series' object has no attribute 'find'?

前端 未结 2 1503
走了就别回头了
走了就别回头了 2021-01-12 16:09

I am trying to play with some online data, and having some trouble plotting it due to an \'Attribute\' error in the plot function

# Reading data from an onli         


        
相关标签:
2条回答
  • Use the DataFrame plot method:

    walking_data.plot('Seq', ,'Ax')
    
    0 讨论(0)
  • 2021-01-12 16:48

    plot is getting confused because you're passing it strings, not numbers. If you convert them to (say) floats:

    walking_data = walking_data.astype(float)
    

    Then you'll get

    walking plot

    0 讨论(0)
提交回复
热议问题