I have 12 numpy array that contains arounf 1000 values within each one. Some of the values have a star around them and indicating that I need to delete the value from the array. Others don't and it is difficult to check where these are. Code similar (but smaller example) below:
nums1 = np.array([654, 648, 213, *684*, 516, 654, *987*, 321])
nums2 = np.array([68, 89, 36, 879, 78, 213, 89, 79])
nums3 = np.array([432, *87*, 809, 312, 76, *890*, 234, 32])
Is there any way to test each of these and get an array of the indicies such that I can delete the values and their corresponding partners in my other arrays? Again this is an example, my arrays are much larger. My ideal output would be something similar to:
bad_values_nums1 = np.array([3, 6])
bad_values_nums2 = np.array([])
bad_values_nums3 = np.array([1, 5])