Skip to content

Commit 2252f8d

Browse files
authored
closes #7 (#8)
1 parent f45bf0f commit 2252f8d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/data_utils.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,12 @@ selectcols(::LightInterface, ::Val{:table}, X, c; kw...) =
241241
"""
242242
select(X, r, c)
243243
244-
Select element(s) of a table or matrix at row(s) `r` and column(s) `c`. In the
245-
case of sparse data where the key `(r, c)`, zero or `missing` is returned,
246-
depending on the value type. See also: [`selectrows`](@ref),
247-
[`selectcols`](@ref).
244+
Select element(s) of a table or matrix at row(s) r and column(s) c. An object
245+
of the sink type of X (or a matrix) is returned unless c is a single integer or
246+
symbol. In that case a vector is returned, unless r is a single integer, in
247+
which case a single element is returned.
248+
249+
See also: [`selectrows`](@ref), [`selectcols`](@ref).
248250
"""
249251
select(X, r, c) = select(get_interface_mode(), vtrait(X), X, r, c)
250252

0 commit comments

Comments
 (0)