Filter Using Pipes In Python Mean