jetbrains-academy / Python-Libraries-NumPy

MIT License
1 stars 3 forks source link

File somedata.csv is empty Array Basics / Reading and Writing Files #50

Closed edutools-service closed 2 years ago

edutools-service commented 2 years ago

Whille doing excersize I've got an error message "Empty input file: "somedata.csv" arr = np.genfromtxt(data, delimiter=',' , skip_header=3)". I checked, really the file's length 0b . Help me pls to obtain working copy of somedata.csv file to complete current activity. Thanks for advance "C:\Users\Pasha\PycharmProjects\Python Libraries - NumPy.idea\VirtualEnvironment\Scripts\python.exe" "C:/Users/Pasha/PycharmProjects/Python Libraries - NumPy/NumPy/Array Basics/Reading and Writing Files/task.py" C:\Users\Pasha\PycharmProjects\Python Libraries - NumPy\NumPy\Array Basics\Reading and Writing Files\task.py:4: UserWarning: genfromtxt: Empty input file: "somedata.csv" arr = np.genfromtxt(data, delimiter=',', skip_header=3) (0,) float64

Process finished with exit code 0

Efm2004 commented 2 years ago

I symply generated new file based on output awaited. Thanks

sofiiako commented 2 years ago

Hi @Efm2004! Thank you very much for your feedback! Not sure why the file was empty In your case, it seems to have the correct contents both in master and when downloaded from JetBrains Marketplace... Is it possible you accidentally deleted the contents? Also thanks for pointing us to this task, added another test to it.

Efm2004 commented 2 years ago

Hi Sofia! Thanks for the answer. Concerning the file I assume it was accidently corrupted. But I restored it by generating new. So you can close the case. Sincerely yours. Eugene.

пн, 15 авг. 2022 г. в 16:35, Sofia @.***>:

Hi @Efm2004 https://github.com/Efm2004! Thank you very much for your feedback! Not sure why the file was empty In your case, it seems to have the right content both in master https://github.com/jetbrains-academy/Python-Libraries-NumPy/blob/master/NumPy/Array%20Basics/Reading%20and%20Writing%20Files/somedata.csv and when downloaded from Marketplace... Is it possible you accidentally deleted it? Also thanks for pointing us to this task, added another test https://github.com/jetbrains-academy/Python-Libraries-NumPy/pull/52 to it.

— Reply to this email directly, view it on GitHub https://github.com/jetbrains-academy/Python-Libraries-NumPy/issues/50#issuecomment-1215022347, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALU54ZDGUTLCXDK35RGQVQLVZJBTLANCNFSM56MM3DBA . You are receiving this because you were mentioned.Message ID: @.***>