Skip to content
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

Bug when using some symbols as columns names #164

Open
piever opened this issue Apr 20, 2018 · 0 comments
Open

Bug when using some symbols as columns names #164

piever opened this issue Apr 20, 2018 · 0 comments
Labels

Comments

@piever
Copy link
Collaborator

piever commented Apr 20, 2018

julia> Columns(rand(2), names = [Symbol("false")])
ERROR: TypeError: Type{...} expression: expected UnionAll, got NamedTuples._NT___1__{Bool}
Stacktrace:
 [1] #Columns#15(::Array{Symbol,1}, ::Type{T} where T, ::Array{Float64,1}, ::Vararg{Array{Float64,1},N} where N) at /home/pietro/.julia/v0.6/IndexedTables/src/columns.jl:40
 [2] (::Core.#kw#Type)(::Array{Any,1}, ::Type{IndexedTables.Columns}, ::Array{Float64,1}) at ./<missing>:0

julia> Columns(rand(2), names = [Symbol("f")])
2-element IndexedTables.Columns{NamedTuples._NT_f{Float64},NamedTuples._NT_f{Array{Float64,1}}}:
 (f = 0.439338)
 (f = 0.541298)
@piever piever added the bug label Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant