title: Python: Finding corresponding indices for an intersection of two lists
body: <p>This is somewhat related to a question I asked not too long ago today. I am taking the intersection of two lists as follows:</p>
  
  <pre><code>    inter = set(NNSRCfile['datetimenew']).intersection(catdate)
  </code></pre>
  
  <p>The two components that I am taking the intersection of belong to two lengthy lists. Is it possible to get the indices of the intersected values? (The indices of the original lists that is).</p>
  
  <p>I'm not quite sure where to start with this one.</p>
  
  <p>Any help is greatly appreciated!</p>