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

All data.csv ihave bad content and don't readable. Array Math / Linear Algebra #73

Open
edutools-service opened this issue Aug 8, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@edutools-service
Copy link

All files "data.csv" in course "Python Libraries - NumPy" have bad content and don't readable python code in task.py. Wondows Notepad show bad non-csv non-txt content in files "data.csv".
"C:\Users\felix\PycharmProjects\Python Libraries - NumPy.idea\VirtualEnvironment\Scripts\python.exe" "C:\Users\felix\PycharmProjects\Python Libraries - NumPy\NumPy\Array Math\Linear Algebra\task.py"
Traceback (most recent call last):
File "C:\Users\felix\PycharmProjects\Python Libraries - NumPy\NumPy\Array Math\Linear Algebra\task.py", line 4, in
values, labels = np.array(csv[:, :2], dtype=float), np.array(csv[:, 2], dtype=np.int64)
IndexError: too many indices for array: array is 0-dimensional, but 2 were indexed

Process finished with exit code 1

@edutools-service edutools-service added the bug Something isn't working label Aug 8, 2023
@DaniilBogdanovJB
Copy link

Hello,
Checked files on Win 10 and Win 11 with NPP and didn't find any issues; tried restarting IDE and going back and forth on chapters, but the issue seems unreproducible.
Please try re-downloading the course and check if the problem persists. Also, if any anti-virus or anti-malware software is running on the PC, please check its event logs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants