File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -168,13 +168,13 @@ _row_to_named_tuple(row) = NamedTuple(Row(row))
168
168
169
169
`ByRow(f)` can be passed two types of arguments:
170
170
- One or more 1-based `AbstractVector`s of equal length: In this case the returned value
171
- is a vector resulting from applying `f` to elements of passed vectors element-wise.
172
- Function `f` is called exactly once for each element of passed vectors (as opposed to `map`
173
- which assumes for some types of source vectors (e.g. `SparseVector`) that the
174
- wrapped function is pure, and may call the function `f` only once for multiple
175
- equal values.
171
+ is a vector resulting from applying `f` to elements of passed vectors element-wise.
172
+ Function `f` is called exactly once for each element of passed vectors (as opposed to `map`
173
+ which assumes for some types of source vectors (e.g. `SparseVector`) that the
174
+ wrapped function is pure, and may call the function `f` only once for multiple
175
+ equal values.
176
176
- A `Tables.ColumnTable` holding 1-based columns of equal length: In this case the function
177
- `f` is passed a `NamedTuple` created for each row of passed table.
177
+ `f` is passed a `NamedTuple` created for each row of passed table.
178
178
179
179
The return value of `ByRow(f)` is always a vector.
180
180
You can’t perform that action at this time.
0 commit comments