I have an numpy array which has a lot of column, here I only show an small example of it as
a = np.array(
[[1, 3 ,4, 5],
[2, 4 ,7, 8],
[2, 7 ,9, 5],
[2, 96 ,8, 5]])
I want to delete the columns which the third row is 7 and last row is 96. Here for example, the second column has this condition. The desired output is:
a = np.array(
[[1 ,4, 5],
[2 ,7, 8],
[2 ,9, 5],
[2 ,8, 5] ])
Thank you in advance