[Python] Pandas read_json ValueError: Protocol not known

Discussão em 'Python' iniciado por Stack, Junho 10, 2025.

  1. Stack

    Stack Membro Participativo

    I ran the following code a while ago and it worked but now there is the following error. How to solve it?


    ValueError: protocol not known.
    ​

    import json
    temp = json.dumps([status._json for status in tweet]) # create JSON
    newdf = pd.read_json(temp, orient='records')

    Continue reading...

Compartilhe esta Página