How to drop nan in NumPy array
You can drop nan in the NumPy array with the following code. If you want to learn Python, I highly recommend reading This Book. Method 1 Output [1. 2. 4.] Method 2 Output [1. 2. 4.] Method 3 Output [1. 2. 4.] People are also reading: Best Python Books What is Computer Vision? Examples, Applications, Techniques Books …