Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-30 18:48:24 +01:00 committed by GitHub
parent 4347258000
commit be26e2cdea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,3 +98,35 @@ Output:
[0 0 0 0 0]]
```
## More bad function
**Try to avoid using these functions!**
### [numpy.delete](https://numpy.org/doc/stable/reference/generated/numpy.delete.html)
```python
numpy.delete(arr, obj, axis=None)
```
> Return a new array with sub-arrays along an axis deleted. For a one dimensional array, this returns those entries not returned by arr[obj].
### [numpy.insert](https://numpy.org/doc/stable/reference/generated/numpy.insert.html)
```python
numpy.insert(arr, obj, values, axis=None)
```
> Insert values along the given axis before the given indices.
### [numpy.append](https://numpy.org/doc/stable/reference/generated/numpy.append.html)
```python
numpy.append(arr, values, axis=None)
```
> Append values to the end of an array.