{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/1091","repository_url":"https://api.github.com/repos/JuliaStats/DataFrames.jl","labels_url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/1091/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/1091/comments","events_url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/1091/events","html_url":"https://github.com/JuliaStats/DataFrames.jl/issues/1091","id":180952688,"number":1091,"title":"column types depend on how dataframes are declared","user":{"login":"ExpandingMan","id":11379353,"avatar_url":"https://avatars.githubusercontent.com/u/11379353?v=3","gravatar_id":"","url":"https://api.github.com/users/ExpandingMan","html_url":"https://github.com/ExpandingMan","followers_url":"https://api.github.com/users/ExpandingMan/followers","following_url":"https://api.github.com/users/ExpandingMan/following{/other_user}","gists_url":"https://api.github.com/users/ExpandingMan/gists{/gist_id}","starred_url":"https://api.github.com/users/ExpandingMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExpandingMan/subscriptions","organizations_url":"https://api.github.com/users/ExpandingMan/orgs","repos_url":"https://api.github.com/users/ExpandingMan/repos","events_url":"https://api.github.com/users/ExpandingMan/events{/privacy}","received_events_url":"https://api.github.com/users/ExpandingMan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-04T17:17:12Z","updated_at":"2016-10-04T18:45:06Z","closed_at":null,"body":"If this is a duplicate issue I apologize as it seems likely this has been discussed before but I couldn't find it.\r\n\r\nIf a `DataFrame` is declared with an array as its argument `DataFrame(A)` its columns are of type `Vector`.\r\n\r\nIf a `DataFrame` is declared with separate arrays for each column `DataFrame(A=A, B=B)` or `df = DataFrame(); df[:A] =A; df[:B] = B` then its columns are of type `DataArray`.\r\n\r\nThis seems like bad behavior.  Shouldn't columns always be of type `DataArray` regardless of how the `DataFrame` was constructed?"},"comment":{"url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/comments/251476934","html_url":"https://github.com/JuliaStats/DataFrames.jl/issues/1091#issuecomment-251476934","issue_url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/1091","id":251476934,"user":{"login":"ExpandingMan","id":11379353,"avatar_url":"https://avatars.githubusercontent.com/u/11379353?v=3","gravatar_id":"","url":"https://api.github.com/users/ExpandingMan","html_url":"https://github.com/ExpandingMan","followers_url":"https://api.github.com/users/ExpandingMan/followers","following_url":"https://api.github.com/users/ExpandingMan/following{/other_user}","gists_url":"https://api.github.com/users/ExpandingMan/gists{/gist_id}","starred_url":"https://api.github.com/users/ExpandingMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ExpandingMan/subscriptions","organizations_url":"https://api.github.com/users/ExpandingMan/orgs","repos_url":"https://api.github.com/users/ExpandingMan/repos","events_url":"https://api.github.com/users/ExpandingMan/events{/privacy}","received_events_url":"https://api.github.com/users/ExpandingMan/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T18:45:06Z","updated_at":"2016-10-04T18:45:06Z","body":"It definitely seems to me that it would be rather difficult to accommodate dataframes that store columns as one of several different types  in the general case.  Now every program that uses dataframes needs different functions for handling dataframes depending on the types of the columns.  This wouldn't be especially clean because the super type of `NullableArray` isn't just `AbstractArray` it is `AbstractArray{Nullable{T}, N}`.  That seems like a big obstacle for the usefulness of `DataFrames` in external programs.  Besides, isn't part of the goal of `NullableArrays` (according to their readme) to ultimately help alleviate the \"black box\" optimization efficiency issues?"}}
{"actor":{"display_login":"ExpandingMan"}}