Skip to content

Commit

Permalink
Update filter docs, Fixes #3460 (#3461)
Browse files Browse the repository at this point in the history
* Update filter docs

* Apply suggestions from code review

---------

Co-authored-by: Bogumił Kamiński <bkamins@sgh.waw.pl>
  • Loading branch information
sprig and bkamins authored Sep 7, 2024
1 parent bb63361 commit 97bbb40
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/abstractdataframe/abstractdataframe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1151,6 +1151,11 @@ data frames.
function instead as it is consistent with other DataFrames.jl functions
(as opposed to `filter`).
!!! note
Due to type stability the `filter(cols => fun, df::AbstractDataFrame; view::Bool=false)`
call is preferred in performance critical applications.
$METADATA_FIXED
See also: [`filter!`](@ref)
Expand Down Expand Up @@ -1281,6 +1286,11 @@ data frames.
function instead as it is consistent with other DataFrames.jl functions
(as opposed to `filter!`).
!!! note
Due to type stability the `filter!(cols => fun, df::AbstractDataFrame)`
call is preferred in performance critical applications.
$METADATA_FIXED
See also: [`filter`](@ref)
Expand Down

0 comments on commit 97bbb40

Please sign in to comment.