Binary Operators using Numpy

Following are the functions for bitwise operations available in NumPy package.

Sr.No. Operation & Description
1 bitwise_and
Computes bitwise AND operation of array elements
2 bitwise_or
Computes bitwise OR operation of array elements
3 invert
Computes bitwise NOT
4 left_shift
Shifts bits of a binary representation to the left
5 right_shift
Shifts bits of binary representation to the right

Computes bitwise AND operation of array elements
Computes bitwise OR operation of array elements
Computes bitwise NOT
Shifts bits of a binary representation to the left
Shifts bits of binary representation to the right

Array Manipulation using Numpy (Prev Lesson)
(Next Lesson) String Functions using Numpy