# Can't work with notebooks on the Python Data Analysis Course

**URL:** <https://forum.freecodecamp.org/t/cant-work-with-notebooks-on-the-python-data-analysis-course/429132>\
**Category:** Curriculum Help\
**Tags:** python\
**Created:** [November 6, 2020, 6:27pm UTC](https://forum.freecodecamp.org/t/cant-work-with-notebooks-on-the-python-data-analysis-course/429132 "2020-11-06T18:27:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nialashe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/nialashe/32/185889_2.png) [@nialashe](https://forum.freecodecamp.org/u/nialashe)\
**Post date:** [November 6, 2020, 6:27pm UTC](https://forum.freecodecamp.org/t/cant-work-with-notebooks-on-the-python-data-analysis-course/429132/1 "2020-11-06T18:27:17Z")

</div>

Hello!

I’ve been trying to use Google Collab to work with the notebooks of the course, but I can’t seem to find the way to work with them.

On the first excercise: [Google Colab](https://colab.research.google.com/github/ine-rmotr-curriculum/FreeCodeCamp-Pandas-Real-Life-Example/blob/master/Exercises_1.ipynb)

When I try no execute the first line of code i get the error:

FileNotFoundError Traceback (most recent call last)  
 in ()  
1 sales = pd.read\_csv(  
2 ‘data/sales\_data.csv’,  
----\> 3 parse\_dates=[‘Date’])

4 frames  
/usr/local/lib/python3.6/dist-packages/pandas/io/parsers.py in **init** (self, src, \*\*kwds)  
2008 kwds[“usecols”] = self.usecols  
2009  
 → 2010 self.\_reader = parsers.TextReader(src, \*\*kwds)  
2011 self.unnamed\_cols = self.\_reader.unnamed\_cols  
2012

pandas/\_libs/parsers.pyx in pandas.\_libs.parsers.TextReader. **cinit** ()

pandas/\_libs/parsers.pyx in pandas.\_libs.parsers.TextReader.\_setup\_parser\_source()

FileNotFoundError: [Errno 2] No such file or directory: ‘data/sales\_data.csv’

I’m guessing there’s a problem when importing the data file, what should I do in order to make them work?

---

<div class="post-metadata">

**Author:** ![amberlowe1001](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/amberlowe1001/32/167740_2.png) [@amberlowe1001](https://forum.freecodecamp.org/u/amberlowe1001)\
**Post date:** [November 7, 2020, 6:36am UTC](https://forum.freecodecamp.org/t/cant-work-with-notebooks-on-the-python-data-analysis-course/429132/2 "2020-11-07T06:36:56Z")

</div>

Is the file that you are trying to import in the same directory as the file you are working with? Did you use the import command?

---

<div class="post-metadata">

**Author:** ![thirty\_two](https://avatars.discourse-cdn.com/v4/letter/t/7ea924/32.png) [@thirty\_two](https://forum.freecodecamp.org/u/thirty_two)\
**Post date:** [November 7, 2020, 4:50pm UTC](https://forum.freecodecamp.org/t/cant-work-with-notebooks-on-the-python-data-analysis-course/429132/3 "2020-11-07T16:50:41Z")

</div>

I see you are using Colab. You need to upload your file. Option to upload is in the menu on the left-hand side, the button with the folder icon. Once it’s there, right-click on it and click copy path. It should give your the correct locations string that you can paste in `pd.read_csv`.

---

<div class="post-metadata">

**Author:** ![mearistizabal](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mearistizabal/32/199555_2.png) [@mearistizabal](https://forum.freecodecamp.org/u/mearistizabal)\
**Post date:** [March 29, 2021, 10:17pm UTC](https://forum.freecodecamp.org/t/cant-work-with-notebooks-on-the-python-data-analysis-course/429132/4 "2021-03-29T22:17:55Z")

</div>

Hi all. I am beginning too and I am into the same problem. I am taking data from Github. Just to get it clear, should I download all data and then upload it to Colab or is there a way to take it directly from Github?. Thank you.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:29pm UTC](https://forum.freecodecamp.org/t/cant-work-with-notebooks-on-the-python-data-analysis-course/429132/5 "2021-06-01T18:29:00Z")

</div>

Closed on June 1, 2021, 6:29pm UTC


