-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import groupby from DataAPI, remove by and aggregate (#3422)
- Loading branch information
Showing
5 changed files
with
7 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
export by, aggregate | ||
|
||
# TODO: remove definitions in 2.0 release | ||
by(args...; kwargs...) = throw(ArgumentError("by function was removed from DataFrames.jl. " * | ||
"Use the `combine(groupby(...), ...)` or `combine(f, groupby(...))` instead.")) | ||
aggregate(args...; kwargs...) = throw(ArgumentError("aggregate function was removed from DataFrames.jl. " * | ||
"Use the `combine` function instead.")) | ||
|
||
# TODO: remove deprecation in 2.0 release | ||
import Base.delete! | ||
@deprecate delete!(df::DataFrame, inds) deleteat!(df::DataFrame, inds) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters