Skip to content

Commit aa177e4

Browse files
committed
improve docstrings
1 parent 8b84045 commit aa177e4

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

src/abstractdataset/abstractdataset.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ Return a Boolean vector with `true` entries indicating rows without missing valu
736736
If `cols` is provided, only missing values in the corresponding columns are considered.
737737
`cols` can be any column selector ($COLUMNINDEX_STR; $MULTICOLUMNINDEX_STR).
738738
739-
See also: [`dropmissing`](@ref).
739+
See also: [`dropmissing`](@ref), [`byrow`](@ref), [`filter`](@ref), [`filter!`](@ref).
740740
741741
Use `findall(completecases(ds))` to get the indices of the rows.
742742
@@ -807,7 +807,7 @@ If `cols` is provided, only missing values in the corresponding columns are cons
807807
If `view=false` a freshly allocated `Dataset` is returned.
808808
If `view=true` then a `SubDataset` view into `ds` is returned.
809809
810-
See also: [`completecases`](@ref) and [`dropmissing!`](@ref).
810+
See also: [`dropmissing!`](@ref), [`completecases`](@ref), [`byrow`](@ref), [`filter`](@ref), [`filter!`](@ref).
811811
812812
# Examples
813813

src/dataset/other.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ Remove rows with missing values from data set `ds` and return it.
834834
If `cols` is provided, only missing values in the corresponding columns are considered.
835835
`cols` can be any column selector ($COLUMNINDEX_STR; $MULTICOLUMNINDEX_STR).
836836
837-
See also: [`dropmissing`](@ref) and [`completecases`](@ref).
837+
See also: [`dropmissing`](@ref), [`completecases`](@ref), [`byrow`](@ref), [`filter`](@ref), [`filter!`](@ref).
838838
839839
```jldoctest
840840
julia> ds = Dataset(i = 1:5,
@@ -1073,6 +1073,8 @@ To apply different functions on different columns pass a vector of functions.
10731073
10741074
Note that `mapcols` guarantees not to reuse the columns from `ds` in the returned
10751075
`Dataset`. If `f` returns its argument then it gets copied before being stored.
1076+
1077+
See also: [`map`](@ref), [`map!`](@ref)
10761078
"""
10771079
function mapcols(ds::AbstractDataset, f::Union{Function, Type}, cols = :)
10781080
# note: `f` must return a consistent length

0 commit comments

Comments
 (0)