WOLFRAM

is an option for SynthesizeMissingValues and ToTabular to specify which data elements are considered missing.

Details

  • MissingValuePattern is typically used to identify missing values. For instance, it is common to have some proxy value be interpreted as missing.
  • Possible settings include:
  • Automaticautomatically determine missing values
    pattuse patt for each element to determine missing values
  • The patti can also be Automatic, in which case, missing for that column is automatically recognized.
  • By default, Missing[] and Indeterminate values are considered missing.

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Specify that missing values are indicated by the value "99":

Out[2]=2

Specify that the missing values are integers:

Out[2]=2
Out[3]=3

Scope  (3)Survey of the scope of standard use cases

Specify missing values with Condition:

Out[2]=2
Out[3]=3

Train a distribution on a two-dimensional dataset:

Out[1]=1

Specify that missing values are indicated by the value "7":

Out[2]=2

By default, Tabular only interprets explicit Missing[] expressions as missing values:

Out[1]=1

Use ToTabular to specify a pattern for the entries that should be additionally interpreted as missing values:

Out[2]=2

Specify multiple MissingValuePattern values:

Out[40]=40
Out[43]=43

Applications  (1)Sample problems that can be solved with this function

Obtain a dataset of images:

Out[2]=2

Train a distribution on the images:

Out[3]=3

Use MissingValuePattern to replace the pixel values that should be considered missing with the samples generated from the learned distribution:

Out[5]=5
Wolfram Research (2019), MissingValuePattern, Wolfram Language function, https://reference.wolfram.com/language/ref/MissingValuePattern.html (updated 2025).
Wolfram Research (2019), MissingValuePattern, Wolfram Language function, https://reference.wolfram.com/language/ref/MissingValuePattern.html (updated 2025).

Text

Wolfram Research (2019), MissingValuePattern, Wolfram Language function, https://reference.wolfram.com/language/ref/MissingValuePattern.html (updated 2025).

Wolfram Research (2019), MissingValuePattern, Wolfram Language function, https://reference.wolfram.com/language/ref/MissingValuePattern.html (updated 2025).

CMS

Wolfram Language. 2019. "MissingValuePattern." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/MissingValuePattern.html.

Wolfram Language. 2019. "MissingValuePattern." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/MissingValuePattern.html.

APA

Wolfram Language. (2019). MissingValuePattern. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MissingValuePattern.html

Wolfram Language. (2019). MissingValuePattern. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MissingValuePattern.html

BibTeX

@misc{reference.wolfram_2025_missingvaluepattern, author="Wolfram Research", title="{MissingValuePattern}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/MissingValuePattern.html}", note=[Accessed: 08-July-2025 ]}

@misc{reference.wolfram_2025_missingvaluepattern, author="Wolfram Research", title="{MissingValuePattern}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/MissingValuePattern.html}", note=[Accessed: 08-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_missingvaluepattern, organization={Wolfram Research}, title={MissingValuePattern}, year={2025}, url={https://reference.wolfram.com/language/ref/MissingValuePattern.html}, note=[Accessed: 08-July-2025 ]}

@online{reference.wolfram_2025_missingvaluepattern, organization={Wolfram Research}, title={MissingValuePattern}, year={2025}, url={https://reference.wolfram.com/language/ref/MissingValuePattern.html}, note=[Accessed: 08-July-2025 ]}