-
### Issue Report Checklist
Checklist checked
## Problem Description
So filtering pandas dfs works fine, but there are no options for this for numpy arrays. Would be nice to add this to Spyder…
-
This is an exciting work! When I follow the process to reproduce the code, I encounter the error:“/home/zh/anaconda3/envs/DHD1/lib/python3.8/site-packages/mmcv/ops/deform_conv.py", line 92, in forward…
-
### Description
The following code runs as expected:
```py
import numpy as np
string_array = ["apple", "banana", "cherry"]
numpy_arr=np.array(string_array)
```
However, when I swap NumPy for CuPy li…
-
Found an a compatibility issue with numpy 2.
Lines 236, 237 in quantile regression:
```
xx = np.array(xx, np.double, copy=False, order="F", ndmin=1)
yy = np.array(yy, np.double, copy=False, orde…
-
### What should we add?
I.e., a Numpy array of bools. Recipe courtesy of @ihincks:
```python
np.unpackbits(bit_array.array, axis=-1)[...,-bit_array.num_bits:]
```
-
When a Pandas DataFrame containing a string column is passed to the prediction function, it is converted to a NumPy array and then validated. During validation, the column's data type is compared with…
-
**Describe the bug**
Error when building ulab for 1 dimension.
**Configuration used**
```
#define ULAB_MAX_DIMS (1) // Limit array dimensions to 1D
```
**Output**
```
../../../ulab/code/nu…
-
### What is the problem this feature will solve?
This is a follow-on to https://github.com/astropy/astropy/issues/17254 as I found I can create a FITS file with a string value for a TLMIN or TLMAX va…
-
Right now the array type implements `__array__`, but just as convenience. This was done back when the package was numpy.array_api.
I'm wondering if we should actually remove this. It isn't part of …
-
This example has 4 electrons in 8 orbitals. Why is it trying to allocate a 64 GB array?
```python
import fqe
from openfermion import FermionOperator, hermitian_conjugated
op = FermionOperator(…