We can calculate the modulo or remainder using the NumPy mod(), remainder(), and fmod() functions. Also, we can use the % operator. The main difference among these functions is how they deal with negative numbers. The odd one out in this group is the fmod() function.