Skip to content
murmot

Results for “python numpy array example api code cap file 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] Create numpy array from a list error

    Next message (by thread): [Numpy-discussion] Create numpy array from a list error.It seems like a memory problem to me. This was reinforced when I tried to > break the dataset into 3 chunks and stack the resulting arrays - I got an > error message saying "memory error". >

  • 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] ragged array implimentation

    [Numpy-discussion] ragged array implimentation. Christopher Barker Chris.Barker at noaa.gov Mon Mar 7 13:42:00 EST 2011.In your example, the 'ragged' array would be a 1d numpy array with > dtype='O', and the individual elements would be 1d numpy arrays with > dtype=int.

  • 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

    [python-win32] File I/O problem

    Jan 12, 2005 · The problem appears to be that the conversion has produced a byte with hex value 1a and Python is treating this as an end-of-file marker. This I've worked this out by using a Hex Editor and looking at the character after where the read operation stops. The offending character the square (unprintable) character in the file snippet below.

  • mail.python.org

    [Numpy-discussion] A random.normal function with stdev as array

    normdist = lambda x: numpy.random.normal(0,x) > vecnormal = numpy.vectorize(normdist) > >.It looks like some-kind of error is not being caught correctly. You should not get a segfault. Could you provide a stack-trace when the problem occurs?

  • 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 ...