The `abs(&self)` method in `BaseArray` only works for float arrays since it's defined as part of the _Element-wise methods for float arrays_ section. However, in my opinion, we should also be able to get the absolute version of negative integers arrays.
The
abs(&self)method inBaseArrayonly works for float arrays since it's defined as part of the Element-wise methods for float arrays section.However, in my opinion, we should also be able to get the absolute version of negative integers arrays.