We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
groupby
When groupby takes as input a function that returns NamedTuples, it does not expand the output to separate columns in some cases:
julia> using IndexedTables julia> df = table(rand(Bool, 100), rand(100), rand(100), names = [:x, :y, :z], pkey = :x); julia> groupby(t -> map(mean, columns(table(t))), df, select = (:y, :z)) Table with 2 rows, 2 columns: x #7 ─────────────────────────────────── false (y = 0.477451, z = 0.48867) true (y = 0.575163, z = 0.484047)
When instead one would expect:
julia> using IndexedTables julia> df = table(rand(Bool, 100), rand(100), rand(100), names = [:x, :y, :z], pkey = :x); julia> groupby(t -> map(mean, columns(table(t))), df, select = (:y, :z)) Table with 2 rows, 2 columns: x y z ─────────────────────────────────── false 0.477451 0.48867 true 0.575163 0.484047
The text was updated successfully, but these errors were encountered:
_promote_op
Fixed by #150
Sorry, something went wrong.
No branches or pull requests
When
groupby
takes as input a function that returns NamedTuples, it does not expand the output to separate columns in some cases:When instead one would expect:
The text was updated successfully, but these errors were encountered: