Open Kha23i opened 2 years ago
Thanks! It works for me too!
Thank you kindly! Works for me.
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)
Thanks a lot. It worked for me @Kha23i
How did you know to do this? @Kha23i
How did you find this @Kha23i broo
@Kha23i Thank you. Seems worked for me. Needed to put a code in all 3 lines. Sorry, i am new to it.
@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'])
@Sarabdat Idk why but that didn't work for me...
The original code
sales = pd.read_csv( 'data/sales_data.csv', parse_dates=['Date'])
may cause error for you then you can replace it withsales = 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 💯