Skip to content

Commit 0fbbcf7

Browse files
committed
code-format
1 parent e0a8ff9 commit 0fbbcf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_episodes/06-func.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ numpy.loadtxt('inflammation-01.csv', ',')
714714
715715
then the filename is assigned to `fname` (which is what we want),
716716
but the delimiter string `','` is assigned to `dtype` rather than `delimiter`,
717-
because `dtype` is the second parameter in the list. However ',' isn't a known `dtype` so
717+
because `dtype` is the second parameter in the list. However `','` isn't a known `dtype` so
718718
our code produced an error message when we tried to run it.
719719
When we call `loadtxt` we don't have to provide `fname=` for the filename because it's the
720720
first item in the list, but if we want the ',' to be assigned to the variable `delimiter`,

0 commit comments

Comments
 (0)