I have a simple numpy array. I want to select all rows but 1st and 6th
I tried:

```
temp = np.array([1,2,3,4,5,6,7,8,9])
t = temp[~[0,5]]

```

I get the following error:

```
 TypeError: bad operand type for unary ~: 'list'

```

What is the correct way to do this?