Remove missing entries
removes
missing entries from an array or table. If R
= rmmissing(A
)A
is
a vector, then rmmissing
removes any entry that
contains missing data. If A
is a matrix or table,
then rmmissing
removes any row that contains missing
data. Missing values are defined according to the data type of A
:
NaN
— double
, single
, duration
,
and calendarDuration
NaT
— datetime
<missing>
— string
<undefined>
— categorical
' '
— char
{''}
— cell
of
character arrays
specifies additional parameters for removing missing entries using one or more name-value pair
arguments. For example, you can use R
= rmmissing(___,Name,Value
)rmmissing(A,'MinNumMissing',n)
to remove
rows of A
that contain at least n
missing values.
Clean Missing
Data | fillmissing
| ismissing
| isnan
| isnat
| standardizeMissing