Skip to content

Commit

Permalink
ERRATUM: change 0.1 inches to 0.2 inches
Browse files Browse the repository at this point in the history
Fix typo in 02.06-Boolean-Arrays-and-Masks.ipynb
  • Loading branch information
jakevdp authored Jan 31, 2017
2 parents bf71379 + 43176fb commit c628cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebooks/02.06-Boolean-Arrays-and-Masks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -777,15 +777,15 @@
"Number days without rain: 215\n",
"Number days with rain: 150\n",
"Days with more than 0.5 inches: 37\n",
"Rainy days with < 0.1 inches : 75\n"
"Rainy days with < 0.2 inches : 75\n"
]
}
],
"source": [
"print(\"Number days without rain: \", np.sum(inches == 0))\n",
"print(\"Number days with rain: \", np.sum(inches != 0))\n",
"print(\"Days with more than 0.5 inches:\", np.sum(inches > 0.5))\n",
"print(\"Rainy days with < 0.1 inches :\", np.sum((inches > 0) &\n",
"print(\"Rainy days with < 0.2 inches :\", np.sum((inches > 0) &\n",
" (inches < 0.2)))"
]
},
Expand Down

0 comments on commit c628cd2

Please sign in to comment.