Python Pandas ValueError Arrays Must be All Same Length

前端 未结 5 1264
终归单人心
终归单人心 2020-12-14 02:15

Iterates over a big list of .mp3 links to get the metadata tags and save it to an Excel file. Results in this error. I appreciate any help. Thanks.

    #pri         


        
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-14 03:16

    I have come across the same error while reading JSON file to the pandas frame. adding linesbool, default False parameter solved the issue.

    StringData = StringIO(obj.get()['Body'].read().decode('utf-8'))
                    mydata = pdf.read_json(StringData, lines=True)
    

提交回复
热议问题