mirror of
https://github.com/davrot/pytutorial.git
synced 2025-04-17 20:56:41 +02:00
Create README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
8ce8f88510
commit
e7f6e2d747
1 changed files with 27 additions and 0 deletions
27
numpy/unique/README.md
Normal file
27
numpy/unique/README.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Unique
|
||||
{:.no_toc}
|
||||
|
||||
<nav markdown="1" class="toc-class">
|
||||
* TOC
|
||||
{:toc}
|
||||
</nav>
|
||||
|
||||
## The goal
|
||||
|
||||
|
||||
Questions to [David Rotermund](mailto:davrot@uni-bremen.de)
|
||||
|
||||
|
||||
## [numpy.unique](https://numpy.org/doc/stable/reference/generated/numpy.unique.html)
|
||||
|
||||
```python
|
||||
numpy.unique(ar, return_index=False, return_inverse=False, return_counts=False, axis=None, *, equal_nan=True)
|
||||
```
|
||||
|
||||
> Find the unique elements of an array.
|
||||
>
|
||||
> Returns the sorted unique elements of an array. There are three optional outputs in addition to the unique elements:
|
||||
> * the indices of the input array that give the unique values
|
||||
> * the indices of the unique array that reconstruct the input array
|
||||
> * the number of times each unique value comes up in the input array
|
||||
|
Loading…
Add table
Reference in a new issue