title: Identifying the index of an array inside a 2D array
body: <p>I'm trying out an inventory system in python 3.8 using functions and numpy.
  While I am new to numpy, I haven't found anything in the manuals for numpy for this problem.</p>
  
  <p>My problem is this specifically:
  I have a 2D array, in this case the unequipped inventory;
  <code>unequippedinv = [[""], [""], [""], [""], ["Iron greaves", 15, 10, 10]]</code></p>
  
  <p>I have an if statement to ensure that the item selected is acceptable. I'm now trying to remove the entire index ["Iron greaves", 15, 10, 10] using <code>unequippedinv.pop(unequippedinv.index(item))</code> but I keep getting the error <em>ValueError: "'Iron greaves', 15, 10, 10" is not in list</em></p>
  
  <p>I've tried using numpy's where and argwhere but instead just got [] as the outcome.</p>
  
  <p>Is there a way to search for an entire array in a 2D array, such as how SQL has <code>SELECT * IN y WHERE x IS b</code> but in which it gives me the index for the entire row?</p>
  
  <p>Note: I have now found out that it is something to do with easygui's choicebox, which, I assume, turns the chosen array into a string which is why it creates an error.</p>