Skip to content
murmot

Results for “python numpy array append example code java 3 site:mail.python.org”

  • mail.python.org

    [Tutor] comparing two numpy arrays

    If I've two numpy arrays, is there a non-looping way of finding common > values. (the example below has identical shapes for the > arrays but this > may not be the case in my scenario) > >.Maybe convert the arrays to lists or tuples then to sets?

  • mail.python.org

    [AstroPy] Moving Ahead with Raw Image Conversion

    In your example code, you've created a Python array of hexadecimal-valued bytes -- which I guess is what you get reading in your "raw" image, so that's OK. But you still have to convert those '\x01', etc., values to Python integers.

  • mail.python.org

    [Tutor] comparing two numpy arrays

    Andy Cheesman wrote: > I've googled a bit for manipulation of > sets into other data structure(lists, arrays) and not seen much. Is the > only way of interconversion a brute force method? > >