Loading a csv file using pandas

Viewed 39

I'm trying to load a csv file in google colab with pandas. I've tried many different ways now and I keep getting the same error message every time:

import pandas as pd

df = pd.read_csv('C:/Users/renat/Documentos/pandas/pokemon_data.csv')

I've also tried with \ , and placing an 'r' before 'C:

The traceback error is

FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/renat/Documentos/pandas/pokemon_data.csv'

1 Answers

Try changing ur working directory first

Related