Python Pandas ValueError Arrays Must be All Same Length

前端 未结 5 1251
终归单人心
终归单人心 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:08

    It's telling you that the arrays (lines, titles, finalsingers, etc...) are not of the same length. You can test this by

    print(len(lines), len(titles), len(finalsingers)) # Print all of them out here
    

    This will show you which data is malformed and then you'll need to do some investigating into what the right way to correct this is.

提交回复
热议问题