-
Notifications
You must be signed in to change notification settings - Fork 368
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
DataFrameRow conversion to DataFrame broken #1675
Comments
Woops, looks like the fallback Tables constructor is used. We should define a special constructor for But returning an empty data frame is really weird. I would expect either an error or something meaningful. What do you think @quinnj?
AFAIK that never worked (it should be |
The issue is that We should first decide if we want An idiomatic pattern that currently works is |
We could implement a more convenient replacement for |
I agree that Base.append!(df::DataFrame, x) = append!(df, DataFrame(x)) in |
Exactly - that is why I think we should decide in the first place if |
I don't see the advantage of allowing I'm not sure about allowing |
+1. I can imagine it would be a common mis-pattern to grow the dataframe in a loop using |
A solution would be to require |
See #1685 |
We allow for creation of a |
On Julia v1.0.3 and DataFrames 0.16
I think it was working (as naturally expected) in 0.15. One consequence of this is that
append!(df, df[1, :])
fails with "Column names do not match".The text was updated successfully, but these errors were encountered: