title: Find particular rows in Graphlab or Python
body: <p>In Graphlab,</p>
  
  <p>I am working with a small subset of movies from a larger list.</p>
  
  <pre><code>  movieIds_5K_np = LL_features_SCD_min.to_numpy()[:,0]
    ratings_33K_np = ratings_33K.to_numpy()
  </code></pre>
  
  <p><code>movieIds_5K_np</code> is an array containing my movieIds. `ratings_33K_np' is an array with FOUR columns whose second columns contains movie Ids for ALL movies. </p>
  
  <p>I need to select only the rows in <code>ratings_33K_np</code> whose id exist in `movieIds_5K_np'. </p>
  
  <p>I tried this approach but it doesn't seems to be working:</p>
  
  <pre><code> ratings_5K_np = ratings_33K_np[ratings_33K_np[:,2]==movieIds_5K_np] 
  </code></pre>
  
  <p>How can I do this in Graphlab or by using some Python libraries? I should say that originally <code>ratings_33K</code> and <code>movieIds_5K</code> were imported as SFrame.</p>
  
  <p>Thanks</p>