Skip to content
murmot

Results for “python numpy array example api code cap program site:mail.python.org error”

  • mail.python.org

    [Numpy-discussion] NEP: array API standard adoption (NEP 47)

    The scope of this NEP includes: - Adopting the 2021 version of the array API standard - Adding a separate namespace, tentatively named ``numpy.array_api`` - Changes needed/desired outside of the new namespace, for example new dunder methods on the ``ndarray`` object - Implementation choices, and differences between functions in the new ...

  • mail.python.org

    [Numpy-discussion] Numpy 2D array from a list error

    Previous message (by thread): [Numpy-discussion] Numpy 2D array from a list error.This could be an issue. For strings, numpy creates an array of strings, >> all of the same length, so each element is as big as the largest one

  • mail.python.org

    [Numpy-discussion] NEP: array API standard adoption (NEP 47)

    Feb 21, 2021 · The main > > purpose of this API is to be able to write code that is portable to > > other > > array/tensor libraries like CuPy, PyTorch, JAX, TensorFlow, Dask, and > > MXNet. > > > > We expect this NEP to remain in draft state for quite a while, while > > we're > > gaining experience with using it in downstream libraries, discuss > > adding it ...

  • mail.python.org

    [Numpy-discussion] Numpy 2D array from a list error

    Next message (by thread): [Numpy-discussion] Numpy 2D array from a list error.apps/python/2.5.4/rhel4/lib/python2.5/site-packages/numpy/lib/io.py", line 505, in loadtxt X = np.array(X, dtype) ValueError: setting an array element with a sequence " @.

  • mail.python.org

    Mailman 3 Search results for "closing csv file in numpy ...

    I ran the tests using the `runtests.py` script: *seed+1000, using 'python runtests.py -n' in the source directory:* 236 failed, 12881 passed, 1248 skipped, 585 deselected, 84 xfailed, 7 xpassed Most of the failures are in scipy.stats: *seed+1000, using 'python runtests.py -n -s stats' in the source directory:* 203 failed, 1034 passed, 4 skipped ...

  • mail.python.org

    [Numpy-discussion] tried to set void-array with object members using...

    Next message (by thread): [Numpy-discussion] numpy, Py_ssize_t, cython and 64 bits python 2.4.Also, when I > put in a class I locally define I get a "data type not understood" > error: Yeah, don't do that. Always use 'object'. numpy does no type-checking for object arrays/fields.

  • mail.python.org

    [Numpy-discussion] NEP 32: Remove the financial ... - Python

    Implementation -------------- * Create a new Python package, ``numpy_financial``, to be maintained in the top-level NumPy github organization. This repository will contain the definitions and unit tests for the financial functions.

  • mail.python.org

    mail.python.org

    If I change the `LOCAL_IF` variable to a **non-localhost** interface on my computer, **this works correctly** and sends the example data. So this is somehow linked to the localhost address being used to send.

  • mail.python.org

    [python-win32] How to write a COM Server implementing ...

    It seems I *can* make this work with the pythoncom test object. I created a structure with no GUID in a TLB with a name StructWithoutUUID. Then, I used the code at the end of this message as a quick hack to try out the SetGuid and the output is: """ as expected, failed to create the record normally: The structure 'StructWithoutUUID' is not defined in module '<module 'win32com.gen_py.6BCD ...