-
Notifications
You must be signed in to change notification settings - Fork 372
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
Base.reduce(::typeof(vcat), ...)
on DataFrames does not support init
#3309
Comments
It is not supported because it is not needed. See the docstring of
The point is that So the question is in what cases the current behavior is confusing (in other words (I am not saying we should not add |
Hi! Thanks for your response. I did not notice that Whatever, specifically, I want to split a DataFrame I think adding |
So your request is to make
We could do this as I agree it is useful (another use is to make sure that one gets a proper eltype of columns). I will add it. |
see #3310 |
Thank you very much for your efforts! I left a comment there for a typo. |
Unlike other
reduce
methods,Base.reduce(::typeof(vcat), ...)
on DataFrames don't supportinit
. Although I noticed that passing an empty DataFrame array will also output an empty DataFrame, it does not behavior like otherreduce
methods, which can be confusing. For example,The text was updated successfully, but these errors were encountered: