Skip to content
murmot

Results for “python numpy array example problem error 2 site:mail.python.org module”

  • mail.python.org

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

    The array object ~~~~~~~~~~~~~~~~ Regarding the array object implementation, we plan to start with a regular Python class that wraps a ``numpy.ndarray`` instance. Attributes and methods can forward to that wrapped instance, applying input validation and implementing changed behaviour as needed.

  • mail.python.org

    [Numpy-discussion] strange problem compiling against ndarrayobject.h

    I'm suddenly getting into trouble compiling gdal's python extension, > when it includes ndarrayobject.h from numpy. First it complains about my > python not being unicode, though I am sure it is unicode, and then it > bails out with all kinds of errors (see snippet below). >

  • mail.python.org

    [AstroPy] import problem (matplotlib ? numpy ?) on Mac Intel, python...

    My so little experience tells me that this is a deep numpy issue > rather than a matplotlib one. > If you have a complete installation of numpy, multiarray should be present there in ./numpy/core as well - this might point to a version problem (like 32 bit vs. 64 bit)...

  • mail.python.org

    [Numpy-discussion] Numpy 1.6.1 installation problem

    Feb 14, 2012 · Really not an expert here, but it looks like it's trying various compilation options, some work and some don't, and for some reason it's really unhappy about the one where it can't find Python.h.

  • mail.python.org

    [Numpy-discussion] ValueError: objects are not aligned

    Previous message (by thread): [Numpy-discussion] ValueError: objects are not aligned.I'm getting this error, which must be a simple error in getting the result >> from the cursor in the right shape, how do I get the cursor into the array >> as a single dimension?

  • mail.python.org

    [Numpy-discussion] accepting NEP 23 - backwards compatibility ...

    Discussion on > removing them happened in 2013 (gh-2880, rejected) and then again in 2019 > (:ref:`NEP32`, accepted without significant complaints). > > Given that they were clearly outside of NumPy's scope, moving them to a > separate ``numpy-financial`` package and removing them from NumPy after a > deprecation period made sense ...

  • mail.python.org

    [Numpy-discussion] ragged array implimentation

    and returns > numpy object arrays, where the elements of the object arrays are > themselves 1d numpy arrays. I don't think there is any other way to do > it. In your example, the 'ragged' array would be a 1d numpy array with > dtype='O'...

  • mail.python.org

    [Python-3000] bytes vs array.array vs numpy.array

    Oct 15, 2007 · A good canonical multi-dimensional array is needed. NumPy provides a class which, in addition to serving various numeric needs, also provides for a multi-dimensional array where the elements can be of some class/types.