Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a groupby method #64

Merged
merged 5 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DataAPI"
uuid = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a"
authors = ["quinnj <quinn.jacobd@gmail.com>"]
version = "1.15.0"
version = "1.16.0"

[compat]
julia = "1"
Expand Down
11 changes: 11 additions & 0 deletions src/DataAPI.jl
Original file line number Diff line number Diff line change
Expand Up @@ -522,4 +522,15 @@ Return the row number of `row` in the source table.
"""
function rownumber end

"""
groupby(obj, args...; kw...)

Group `obj` into partitions specified by `args` and `kw`,
rafaqz marked this conversation as resolved.
Show resolved Hide resolved
which may vary according to the implementation for `obj`.

To avoid type piracy and method ambiguities, implementations of `groupby`
must restrict the first argument to a type defined in the same package.
"""
function groupby end

end # module
Loading