Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't read data/sales_data.csv using panda library #49

Open
ansonantony opened this issue Mar 18, 2024 · 0 comments
Open

Can't read data/sales_data.csv using panda library #49

ansonantony opened this issue Mar 18, 2024 · 0 comments

Comments

@ansonantony
Copy link

When we run the code we encounter the following error


FileNotFoundError Traceback (most recent call last)

in <cell line: 1>()
----> 1 sales = pd.read_csv(
2 'data/sales_data.csv',
3 parse_dates=['Date'])

6 frames

/usr/local/lib/python3.10/dist-packages/pandas/io/common.py in get_handle(path_or_buf, mode, encoding, compression, memory_map, is_text, errors, storage_options)
854 if ioargs.encoding and "b" not in ioargs.mode:
855 # Encoding
--> 856 handle = open(
857 handle,
858 ioargs.mode,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant