MissingBehavior
Details
- The following settings can be given:
-
None use ordinary behavior of Missing Automatic invoke special rules for Mean, Total, etc. - Special behavior invoked by the setting MissingBehavior->Automatic includes:
-
Mean,Median,StandardDeviation,… empty lists yield Missing["Indeterminate"] Total,Mean,Median,Min,Max,… Missing elements are dropped or ignored Times,Minus,Power,… Missing elements yield Missing["Indeterminate"] Counts,GroupBy,Map,… application to a single Missing yields another Missing
Examples
open allclose allBasic Examples (1)
Scope (4)
Statistics functions on list of objects ignore Missing objects by default in Query operations:
They act in the same way on Dataset operations:
Using MissingBehaviorNone makes Missing objects be preserved:
This would be equivalent to direct action of Mean on the list or Dataset object:
Statistics functions on lists of insufficient length return Missing["Indeterminate"]:
Some operations with variable number of arguments ignore Missing objects by default in Query:
They act in the same way on Dataset operations:
Using MissingBehaviorNone makes Missing objects be preserved:
Other operations return Missing["Indeterminate"] by default:
Using MissingBehaviorNone makes Missing objects be preserved:
Structural and extraction operations in Query always preserve Missing objects:
The value of the MissingBehavior option does not affect the result:
Text
Wolfram Research (2014), MissingBehavior, Wolfram Language function, https://reference.wolfram.com/language/ref/MissingBehavior.html.
CMS
Wolfram Language. 2014. "MissingBehavior." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MissingBehavior.html.
APA
Wolfram Language. (2014). MissingBehavior. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MissingBehavior.html