Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bkamins committed Oct 10, 2023
1 parent 51ee6d1 commit d953754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/abstractdataframe/iteration.jl
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ function mapcols(f::Union{Function, Type}, df::AbstractDataFrame; cols=All())
apply = fill(true, ncol(df))
else
picked = Set(names(df, cols))
apply = Bool[name in picked for allnames in names(df)]
apply = Bool[name in picked for name in names(df)]
end
@assert length(apply) == ncol(df)

Expand Down Expand Up @@ -551,7 +551,7 @@ function mapcols!(f::Union{Function,Type}, df::DataFrame; cols=All())
apply = fill(true, ncol(df))
else
picked = Set(names(df, cols))
apply = Bool[name in picked for allnames in names(df)]
apply = Bool[name in picked for name in names(df)]
end
@assert length(apply) == ncol(df)

Expand Down

0 comments on commit d953754

Please sign in to comment.