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
unstack
When attempting to run the unstack function on an empty dataframe, the error produced references an internal MethodError:
MethodError
ERROR: no method matching DataFrame(::Vector{Vector{Any}}, ::Vector{Any}; copycols=false)
How to replicate:
df = DataFrame(a = [], b = [], c = []) unstack(df, :b, :c)
I think it'd be nice to have a check for this, especially considering stack doesn't appear to have a similar problem.
stack
The text was updated successfully, but these errors were encountered:
Thank you for reporting. This is a problem with broadcasting in base. Fixed in #2842
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When attempting to run the
unstack
function on an empty dataframe, the error produced references an internalMethodError
:ERROR: no method matching DataFrame(::Vector{Vector{Any}}, ::Vector{Any}; copycols=false)
How to replicate:
I think it'd be nice to have a check for this, especially considering
stack
doesn't appear to have a similar problem.The text was updated successfully, but these errors were encountered: