How to filter out results from SArray that are inf?

User 2370 | 10/6/2015, 5:19:42 AM

I need to filter out results from an SArray that has some infinite values. How do i do this?

Comments

User 940 | 10/6/2015, 6:37:20 PM

Hi @vermaaishvarya ,

You can filter results using the following syntax:

python sa = sa[sa != float('inf')]

Hope this helps!

Cheers! -Piotr