-
np.int and np.bool has been depreciated in favour of int and bool, the version in pypi still reflect numpy versions. np.int could be changed from within Python script, but I suspect that np.bool was w…
-
**Affects:** PythonCall
**Describe the bug**
It seems that `pyconvert(Any, ::)` incorrectly assumes that a `recarray` can be wrapped as a `PyArray`.
```
julia> np = pyimport("numpy");
jul…
-
I noticed that pybamm uses `np.ndarray` everywhere, but we should use [numpy.typing.NDArray](https://numpy.org/devdocs/reference/typing.html#numpy.typing.NDArray) wherever possible (everywhere). Ideal…
-
### 🐛 Describe the bug
Running some tests fails with Numpy 2.1.1:
```
====================================================================================================== ERRORS =================…
-
I would expect these asserts to pass. The last assert fails with QCOM=1. They pass with CLANG=1 on PC. It's important to be able to create Tensors backed by numpy array so we can run a model quickly w…
-
A Numba contributor has been working on adding support for `np.cross` to Numba (numba/numba#4128), and this raised the issue that `np.cross` has an unusual type signature. It feels like two related, …
-
in opengate/geometry/utility.py”
Maybe “np.float_” should be “np.double”.
Unsure if related to numpy 2.0 ?
-
I recently hit a project where it would have been beneficial to do this on the GPU:
```
def normalize_image(image, lower_percentile, upper_percentile):
"""Make sure that image intensities lie…
-
**Describe the bug**
There is an inconsistency in the forward fill behavior of cudf when replacing np.inf and -np.inf values using a list. The same operation works correctly with pandas or replace np…
-
NumPy documentation [recommends](https://numpy.org/doc/stable/reference/generated/numpy.rollaxis.html#numpy.rollaxis) using [`np.moveaxis()`](https://numpy.org/doc/stable/reference/generated/numpy.mov…