ine-rmotr-curriculum / FreeCodeCamp-Pandas-Real-Life-Example

1.54k stars 5.3k forks source link

If you faced error in loading data in Exercise 1 using colab #21

Open Kha23i opened 2 years ago

Kha23i commented 2 years ago

The original code sales = pd.read_csv( 'data/sales_data.csv', parse_dates=['Date']) may cause error for you then you can replace it with sales = pd.read_csv( 'https://raw.githubusercontent.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example/master/data/sales_data.csv', parse_dates=['Date']) And it worked well for me 💯

nati12 commented 2 years ago

Thanks! It works for me too!

DJ-Anica commented 2 years ago

Thank you kindly! Works for me.

shaula28 commented 2 years ago

Thank you, but it keeps saying SyntaxError: unexpected EOF while parsing

anw I found another alternative

url = 'https://raw.githubusercontent.com/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example/master/data/sales_data.csv'
sales  = pd.read_csv(url)
BaSalami01 commented 2 years ago

Thanks a lot. It worked for me @Kha23i

el-cee commented 2 years ago

How did you know to do this? @Kha23i

amithdas99 commented 2 years ago

How did you find this @Kha23i broo

Nat359 commented 2 years ago

@Kha23i Thank you. Seems worked for me. Needed to put a code in all 3 lines. Sorry, i am new to it.

Sarabdat commented 1 year ago

@Kha23i thanks a ton, similarly I tried pulling the file from local

sales = pd.read_csv('C:/Users/xyz/Desktop/sales_data.csv', parse_dates= ['Date'])

Vedant-001 commented 1 year ago

@Sarabdat Idk why but that didn't work for me...