FracNan¶
- class lsst.analysis.tools.actions.scalar.FracNan(*args, **kw)¶
 Bases:
ScalarActionCompute the fraction of vector entries that are NaN.
Attributes Summary
Express result as percentage (
bool, defaultFalse)Name of column (
str)Methods Summary
__call__(data, **kwargs)Return the fraction of rows with NaN values.
Return the schema an
AnalysisActionexpects to be present in the arguments supplied to the __call__ method.Attributes Documentation
Methods Documentation
- __call__(data: MutableMapping[str, ndarray[Any, dtype[ScalarType]] | Scalar | HealSparseMap], **kwargs) Scalar¶
 Return the fraction of rows with NaN values.
- Parameters:
 - data
KeyedData 
- data
 - Returns:
 - result
Scalar The fraction (or percentage) of rows with NaN values.
- result
 
- getInputSchema() HealSparseMap]]]¶
 Return the schema an
AnalysisActionexpects to be present in the arguments supplied to the __call__ method.- Returns:
 - result
KeyedDataSchema The schema this action requires to be present when calling this action, keys are unformatted.
- result