Skip to content

Commit

Permalink
Small update related to numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
troelspetersen committed Apr 30, 2024
1 parent ecd5ef8 commit cae29c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Week2/Wine.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"import numpy\n",
"\n",
"with open('data_Wine.csv') as input_file:\n",
" raw_data = numpy.array([row for row in csv.reader(input_file)]).astype(numpy.float)\n",
" raw_data = numpy.array([row for row in csv.reader(input_file)]).astype(float)\n",
"\n",
"labels = raw_data[:, 0 ]\n",
"data = raw_data[:, 1:]"
Expand Down

0 comments on commit cae29c1

Please sign in to comment.