I wrote the same answer but I get an error that 'somedata.csv' is empty.
(0,)
float64
C:...\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)
Hello,
I can't reproduce it, but this problem probably could be related to this issue.
Please try re-downloading the course and check if the issue is reproducible after.
I wrote the same answer but I get an error that 'somedata.csv' is empty. (0,) float64 C:...\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)