Insert standard missing values
replaces
values specified in B
= standardizeMissing(A
,indicator
)indicator
with standard missing
values in an array or table.
Standard missing values depend on the data type:
NaN
for double
, single
, duration
,
and calendarDuration
NaT
for datetime
<missing>
for string
<undefined>
for categorical
' '
for char
{''}
for cell
of
character arrays
standardizeMissing
treats leading and trailing
white space differently for cell arrays of character vectors, character
arrays, and categorical arrays.
For cell arrays of character vectors, standardizeMissing
does
not ignore white space. All character vectors must match exactly a
character vector specified in indicator
.
For character arrays, standardizeMissing
ignores
trailing white space.
For categorical arrays, standardizeMissing
ignores
leading and trailing white space.