In this tutorial you will learn:
Filtering numerical arrays is a very common task in NumPy, inorder to save time and ensure max code efficiency while filtering, NumPy library provides the feature of direct filtering. Using Direct Filtering we can filter out an array without using the conditional statements. For direct filtering we create a filter directly from the array, the usage of direct filtering makes the code more compact and simple.
Carrying out Direct Filtering
In order to carry out