How to easily filter from csv with python?
<p>Assuming I have the following CSV file:</p>

<pre><code>User ID   Name        Application  

001       Ajohns      ABI
002       Fjerry      Central
900       Xknight     RFC
300       JollK       QDI
078       Demik       Central
</code></pre>

<p>Is there some easy way to (import this into some data structure)? and/or be able to easily perform the following operations in python:</p>

<pre><code>1) Get all user IDs with Application=Central
2) Get the row where name="FJerry" then extract say the "userid" value from
3) Give me the filtered rows for those with "Application=Central" so I can write out to CSV
4) Give me all the rows where Name="Ajohn", and Application="ABI" such that I could easy do a len() to count them up?
</code></pre>

<p>Is there some python library or what is the easiest way to accomplish the above?</p>
