Unverified Commit 88f66d15 authored by Stefan Negru's avatar Stefan Negru Committed by GitHub

02-numpy.md: provide detailed alt text to numpy image 02. (#794)

Operations across axes now has a detailed content: ../fig/python-operations-across-axes.png
parent 8dcb7acc
......@@ -437,7 +437,8 @@ next diagram on the left) or the average for each day (as in the
diagram on the right)? As the diagram below shows, we want to perform the
operation across an axis:
![Operations Across Axes](../fig/python-operations-across-axes.png)
![Per-patient maximum inflammation is computed row-wise across all columns using numpy.max(data, axis=1).
Per-day average inflammation is computed column-wise across all rows using numpy.mean(data, axis=0).](../fig/python-operations-across-axes.png)
To support this functionality,
most array functions allow us to specify the axis we want to work on.
......
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