Construct a column whose i
-th row is the i
-th element in cells
.
Construct a column whose i
-th row is the i
-th element in cells
. All
other rows are NA.
Create a dense column from an array of values.
Create a dense column from an array of values. A dense column can still
have empty values, NA and NM, as specified with the na
and nm
masks respectively. Dense columns are unboxed and only values that aren't
masked by na
and nm
will ever be returned (so they can be null
,
NaN
, etc.)
The NM mask (nm
) always takes precedence over the NA mask
(na
). If a row is outside of the range 0 until values.length
, then if
nm(row)
is true, NM will be returned, otherwise NA is returned.
Returns a column that returns NM for any row in nmValues
and NA
for all others.
Returns a column whose values are obtained using get
.
Returns a column whose values are obtained using get
. Each time a row is
accessed, get
will be re-evaluated. To ensure values are evaluated
only once, you can memoize the column or use on of the *forcing*
methods, such as reindex or force.
Returns a column which returns Value(a)
for all rows.
Returns a column which returns Value(a)
for all rows.
The value
argument is strict.