Skip to content
murmot

Results for “python numpy array example program for loop practice code 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

    [Tutor] index of elements in numpy array

    I would like to know how i can find the index of each > element in a while looping a row. Is there any function in numpy. > Your question could mean several things. Could you post a small piece of example code and clarify what it is you're unable to do?