Skip to content
murmot

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

  • 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] ValueError: objects are not aligned

    Previous message (by thread): [Numpy-discussion] ValueError: objects are not aligned.examples are in docstring for np.cov >. as for "stacking rf1 rf1 into a single array first" how would I do this? >>> np.column_stack([np.arange(3)[:,None], np.arange(3)[:,None]]) array([[0, 0]

  • mail.python.org

    [Numpy-discussion] glibc error - mail.python.org

    Also, make sure you're using ATLAS 3.8.x, as I had problems with the 3.9 series (don't know if that would be an issue still). --Hoyt On Sat, Jan 24, 2009 at 8:47 PM, Gideon Simpson < simpson at math.toronto.edu > wrote: > Having built an up to date lapack and ATLAS against gcc 4.3.2, I tried > installing numpy 1.2.1 on Python 2.5.4.

  • mail.python.org

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

    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? One issue is that vectorize is using object arrays under the covers which is consuming roughly 2x the memory than you may think.

  • mail.python.org

    Old matplotlib animation now fails - mail.python.org

    I don't really know where to start > looking for information on how to correct my code. Hence, this > call for help. > > Any ideas? > This is from the help: """ Help on function set_data in module matplotlib.lines: set_data (self, *args) Set the x and y data.

  • mail.python.org

    [Numpy-discussion] ValueError: objects are not aligned

    I tried to simplify and isolate the problem, and hence the confusion. So In sourcing from the DB, I have 3 different cursors (taking a subset of 3 of the 8), each 199 rows in length.Then to try and produce a correlation matrix: print (np.corrcoef([rf1, rf2, rf3])). But this is where I get the original error.

  • mail.python.org

    [Matrix-SIG] Reading binary data from file into NumPy arrays ...

    Jun 18, 1998 · Hello all, I needed a relatively low-level method to load arbitrary binary data files into NumPy arrays, so I wrote C-extension code to do it after learning a little about the NumPy API through the source code. I've called the module numpyio and it allows reading and writing aribrary data-types to an open file stream.