title: Python: How do I examine the predicted rows in y_pred?
body: <p>My logistic regression algorithm returned y_pred as an array. Example:</p>
  
  <pre><code>array([False, False, True, False, False, True, False, False, False,
         False, False, ...])
  </code></pre>
  
  <p>I would like to see which rows in the data set were predicted as True. As a sanity test so to speak, to see if the wrongly predicted True's were absolute wrong or at least close. Is there a way to get the index for the predicted rows? Or any other way how this is usually done?</p>