Skip to content

Commit

Permalink
updated rectification exercise
Browse files Browse the repository at this point in the history
  • Loading branch information
btel committed Apr 28, 2016
1 parent 1041fbc commit 8799edb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 02-indexing.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ <h2 id="view-or-copy-1"><span class="glyphicon glyphicon-pencil"></span>View or
<h2 id="rectification"><span class="glyphicon glyphicon-pencil"></span>Rectification</h2>
</div>
<div class="panel-body">
<p>Rectify an array with random numbers from normal distribution (generated with <code>np.random.randn</code>) using boolean indexing.</p>
<p>Rectify an array (replace negative elements with zeros) of random numbers from normal distribution (generated with <code>np.random.randn</code>) using boolean indexing.</p>
</div>
</section>
<h3 id="fancy-indexing">Fancy indexing</h3>
Expand Down
2 changes: 1 addition & 1 deletion 02-indexing.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ array([ 0, -1, 2, -1])
> ## Rectification {.challenge}
>
> Rectify an array with random numbers from normal distribution (generated with `np.random.randn`) using boolean indexing.
> Rectify an array (replace negative elements with zeros) of random numbers from normal distribution (generated with `np.random.randn`) using boolean indexing.
### Fancy indexing
Expand Down

0 comments on commit 8799edb

Please sign in to comment.