NumPy Data Distribution
In this tutorial you will learn:
- What is data distribution?
- How data distribution is carried out in Numpy?
Selective random is a technique for random sampling in which the data set from which the sample has to be selected is dependent on the specific pre-defined values.
In this tutorial you will learn:
Direct Filtering
In this tutorial you will learn:
Condition Based Filtering
In this tutorial you will learn:
Array Filtering
Separating specific elements based on a specific condition and making another array from those elements is called filtering. Filtering can be carried out either by iterating complete array and checking each element against a specific condition or it can be carried out using by applying a Boolean array on the given array which we want to filter out.
Boolean Array Based Filtering
In this tutorial you will learn:
Array Sorting
In this tutorial you will learn:
NumPy searchsorted() function
NumPy searchsorted() function works well for the sorted arrays as this algorithm specifies the index into which the number should be inserted inorder to maintain a sequence and search order of the array. The seachsorted() alogirthm performs a binary search as it compares the target value to the middle element of the array and progresses accordingly.
Examples