[Python] I am trying to import data to Python, I am using Pandas and Jupyter Notebook

Discussão em 'Python' iniciado por Stack, Maio 16, 2025.

  1. Stack

    Stack Membro Participativo

    import numpy as np
    import pandas as pd

    df = pd.read_csv('spotify_data.csv')

    df.head()


    Getting an error


    FileNotFoundError: [Errno 2] No such file or directory: 'spotify_data.csv'
    ​

    I have that dataset downloaded to my computer and I see it is showing in the Jupyter Notebook, but I don't have any idea why is not working. I am been looking into other similar cases, but cant see to find the answer.

    Continue reading...

Compartilhe esta Página