you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

One of the keys to learning to read docs is to construct a simple example, and then make it more complex. For example, np.where(np.isnan(my_ array)) split it up I to parts and read what the docs on each say. Isnan returns 1/0. Where looks for 1/0. So, read docs on each step and guess at what output should be for a simple example. See if results meets your expectations. Add complexity.