Question: I have an element which should be animated all the time.
The animated element has such CSS properties:

```
#world {
    height: 100%;
    max-height: 100%;
    position: relative;
    display: flex;
    background :red;
}

```

I can only move the element to a particular way, like this:

```
$('#world').animate({right: "2000px", easing: "linear"}, 2000);

```

But this will just animated for 2000px my element has an endless width.

**UPDATE:**

ALL 7.5 Sec. `#world` become bigger.

**[FIDDLE](http://jsfiddle.net/csxLeeak/)**

Answer: 
You may also use `setdiff1d`:

```
In [11]: data[np.setdiff1d(np.arange(data.shape[0]), sample_indexes)]
Out[11]: 
array([[ 0.93825827,  0.26701143],
       [ 0.27309625,  0.38925281],
       [ 0.06510739,  0.58445673],
       [ 0.61469637,  0.05420098],
       [ 0.92685408,  0.62715114],
       [ 0.22587817,  0.56819403],
       [ 0.28400409,  0.21112043]])

```
I'm not familiar with the specifics on `numpy`, but here's a general solution. Suppose you have the following list:   
 `a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]`.  

You create another list of indices you *don't* want:  
 `inds = [1, 3, 6]`.  

Now simply do this:  
 `good_data = [x for x in a if x not in inds]`, resulting in `good_data = [0, 2, 4, 5, 7, 8, 9]`.