Python Data Science : Filtering and selecting data with Python