Points.proportionMissing

Points.proportionMissing()

Returns a nimble object representing the proportion of values that are None or NaN along the points axis.

Examples

>>> lst = [[float('nan'), 2, 0], [0, 2, float('nan')]]
>>> X = nimble.data(lst)
>>> X.points.proportionMissing()
<Matrix 2pt x 1ft
     proportionmissing
   ┌──────────────────
 0 │       0.333
 1 │       0.333
>