Create README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-14 15:01:05 +01:00 committed by GitHub
parent 5d05b4fe5b
commit cc7956cd71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

27
numpy/where/README.md Normal file
View file

@ -0,0 +1,27 @@
# Where
{:.no_toc}
<nav markdown="1" class="toc-class">
* TOC
{:toc}
</nav>
## The goal
Questions to [David Rotermund](mailto:davrot@uni-bremen.de)
## [numpy.where](https://numpy.org/doc/stable/reference/generated/numpy.where.html)
```python
numpy.where(condition, [x, y, ]/)
```
> Return elements chosen from x or y depending on condition.
> **condition** : array_like, bool
> Where True, yield x, otherwise yield y.
> **x**, **y** : array_like
> Values from which to choose. x, y and condition need to be broadcastable to some shape.