rowfilter
Description
A RowFilter object enables you to specify how MATLAB® imports tabular data. The object contains properties that control the data
import process by specifying conditions that must be satisfied for rows to be included. You
can create a RowFilter object by using the rowfilter
function.
Creation
Description
rf = rowfilter( filters rows within
your data set using the variables specified in varnames)varnames. You can use
the returned RowFilter object rf as an input to
parquetread and parquetDatastore to filter data
before importing, or as a row subscript when subscripting into a table or
timetable.
Each variable name within the input argument becomes an individual property of the
RowFilter object. Use tab-completion for efficient access to
available variable names. Use relational operators to express conditions on these
variables to target your rows of interest. These relational operators are supported:
<, <=, >,
>=, ==, and ~=. To express
multiple filtering constraints, combine RowFilter objects using the
&, |, or ~ operators. The
~ operator can also be used with individual constraints.
rf = rowfilter( uses the variable names
from the info)VariableNames property of a ParquetInfo
object.
rf = rowfilter( uses the variable names
from the pds)VariableNames property of a
ParquetDatastore object.
Input Arguments
Examples
Version History
Introduced in R2022aSee Also
parquetinfo | parquetwrite | timetable | table | parquetDatastore | eventfilter