Commit b0642159 authored by Stephen Pearce's avatar Stephen Pearce Committed by Maxim Belkin

code/readings_01.py: harmonise with lesson text (#744)

parent fb28df93
......@@ -6,5 +6,5 @@ def main():
script = sys.argv[0]
filename = sys.argv[1]
data = numpy.loadtxt(filename, delimiter=',')
for m in data.mean(axis=1):
print(m)
for row_mean in numpy.mean(data, axis=1):
print(row_mean)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment