I have a big matrix with lots of elements extremely small, and I consider these elements as 0. In Mathematica, there is a function called [`Chop`](https://reference.wolfram.com/language/ref/Chop.html):

> 
> `Chop[expr]` replaces approximate real numbers in `expr` that are close to
>  zero by the exact integer 0.
> 
> 
> Details
> 
> 
> * `Chop[expr,delta]` replaces numbers smaller in absolute magnitude than `delta` by 0.
> * `Chop` uses a default tolerance of 10-10.
> 
> 
> 

Therefore I want to ask if there is any function like this in Python.