Data analysis with python: exercises

i have a problem while trying to do the exercises_1 on the second lesson of the data analysis with python course. i’ve opened the exercises notebook page on google colab but when i try to run the second cell of code it gave me this error:

sales = pd.read_csv(
    'data/sales_data.csv',
    parse_dates=['Date'])
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-2-2fa7713006b7> in <module>
      1 sales = pd.read_csv(
      2     'data/sales_data.csv',
----> 3     parse_dates=['Date'])

7 frames
/usr/local/lib/python3.7/dist-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options)
    705                 encoding=ioargs.encoding,
    706                 errors=errors,
--> 707                 newline="",
    708             )
    709         else:

FileNotFoundError: [Errno 2] No such file or directory: 'data/sales_data.csv'

Where can i get the ‘data/sales_data.csv’ file?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.