diff --git a/numpy/where/README.md b/numpy/where/README.md new file mode 100644 index 0000000..03c680a --- /dev/null +++ b/numpy/where/README.md @@ -0,0 +1,27 @@ +# Where +{:.no_toc} + + + +## 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. +