turicreate.SArray.dropna

SArray.dropna(self)

Create new SArray containing only the non-missing values of the SArray.

A missing value shows up in an SArray as ‘None’. This will also drop float(‘nan’).

Returns:
out : SArray

The new SArray with missing values removed.