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
Initializing Dataframe from vector of named tuples: missing values #3370
Comments
It is on purpose strict. The
which is faster but more verbose. Having said that maybe indeed it makes sense to allow for what you ask for in the constructor, so I keep the issue open. |
Thanks! |
@quinnj, @nalimilan - what do you think? Now as I think about it maybe a lighter wrapper than |
|
This is what I was also considering. The problem is that it is not an issue on the level of DataFrames.jl. We delegate construction of columns to Tables.jl, so Tables.jl would need to have this kind of mechanism first (it is Tables.jl that throws an error not DataFrames.jl). |
When I initialize my dataframe using
I would expect to get
missing
Instead I get an error
Is there a simple way to get the former behavior? Should it be what DataFrames does by default instead of throwing an error?
The text was updated successfully, but these errors were encountered: