How to remove a column from NumPy array

You can remove a column from the NumPy array with the following code. If you want to learn Python, I highly recommend reading This Book.

Python

Output:

[[ 1  2  4]
 [ 5 10 20]]

Free Learning Resources

Leave a Comment

Your email address will not be published.