{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/765","labels_url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/765/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/765/comments","events_url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/765/events","html_url":"https://github.com/JuliaStats/DataFrames.jl/issues/765","id":57068837,"number":765,"title":"Warnings (ambiguous getindex)","user":{"login":"juliohm","id":3345261,"avatar_url":"https://avatars.githubusercontent.com/u/3345261?v=3","gravatar_id":"","url":"https://api.github.com/users/juliohm","html_url":"https://github.com/juliohm","followers_url":"https://api.github.com/users/juliohm/followers","following_url":"https://api.github.com/users/juliohm/following{/other_user}","gists_url":"https://api.github.com/users/juliohm/gists{/gist_id}","starred_url":"https://api.github.com/users/juliohm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliohm/subscriptions","organizations_url":"https://api.github.com/users/juliohm/orgs","repos_url":"https://api.github.com/users/juliohm/repos","events_url":"https://api.github.com/users/juliohm/events{/privacy}","received_events_url":"https://api.github.com/users/juliohm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-09T18:20:02Z","updated_at":"2015-02-09T19:20:36Z","closed_at":null,"body":"Latest Julia:\r\n\r\n```julia\r\nusing DataFrames\r\n```\r\n\r\n>Warning: New definition \r\n    getindex(DataArrays.DataArray{T,N},Union(AbstractArray{T,1},Real)...) at /home/julio/.julia/v0.4/Compat/src/ngenerate.jl:53\r\nis ambiguous with: \r\n    getindex(DataArrays.AbstractDataArray{T,N},Real) at /home/julio/.julia/v0.4/DataArrays/src/indexing.jl:104.\r\nTo fix, define \r\n    getindex(DataArrays.DataArray{T,N},Real)\r\nbefore the new definition.\r\nWarning: New definition \r\n    getindex(DataArrays.DataArray{T,N},Union(AbstractArray{T,1},Real)...) at /home/julio/.julia/v0.4/Compat/src/ngenerate.jl:53\r\nis ambiguous with: \r\n    getindex(AbstractArray{T,N},Real) at abstractarray.jl:435.\r\nTo fix, define \r\n    getindex(DataArrays.DataArray{T,N},Real)\r\nbefore the new definition.\r\nWarning: New definition \r\n    getindex(DataArrays.PooledDataArray{T,R<:Integer,N},Union(AbstractArray{T,1},Real)...) at /home/julio/.julia/v0.4/Compat/src/ngenerate.jl:53\r\nis ambiguous with: \r\n    getindex(DataArrays.AbstractDataArray{T,N},Real) at /home/julio/.julia/v0.4/DataArrays/src/indexing.jl:104.\r\nTo fix, define \r\n    getindex(DataArrays.PooledDataArray{T,R<:Integer,N},Real)\r\nbefore the new definition.\r\nWarning: New definition \r\n    getindex(DataArrays.PooledDataArray{T,R<:Integer,N},Union(AbstractArray{T,1},Real)...) at /home/julio/.julia/v0.4/Compat/src/ngenerate.jl:53\r\nis ambiguous with: \r\n    getindex(AbstractArray{T,N},Real) at abstractarray.jl:435.\r\nTo fix, define \r\n    getindex(DataArrays.PooledDataArray{T,R<:Integer,N},Real)\r\nbefore the new definition.\r\nWarning: using DataFrames.describe in module Main conflicts with an existing identifier."},"comment":{"url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/comments/73571540","html_url":"https://github.com/JuliaStats/DataFrames.jl/issues/765#issuecomment-73571540","issue_url":"https://api.github.com/repos/JuliaStats/DataFrames.jl/issues/765","id":73571540,"user":{"login":"tshort","id":636420,"avatar_url":"https://avatars.githubusercontent.com/u/636420?v=3","gravatar_id":"","url":"https://api.github.com/users/tshort","html_url":"https://github.com/tshort","followers_url":"https://api.github.com/users/tshort/followers","following_url":"https://api.github.com/users/tshort/following{/other_user}","gists_url":"https://api.github.com/users/tshort/gists{/gist_id}","starred_url":"https://api.github.com/users/tshort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tshort/subscriptions","organizations_url":"https://api.github.com/users/tshort/orgs","repos_url":"https://api.github.com/users/tshort/repos","events_url":"https://api.github.com/users/tshort/events{/privacy}","received_events_url":"https://api.github.com/users/tshort/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T19:20:36Z","updated_at":"2015-02-09T19:20:36Z","body":"It works for me:\r\n\r\n```julia\r\njulia> d = DataFrame(a = rand(1:10,20), x = rand(20), y = rand(20));\r\n\r\njulia> d[1:10, [:x,:y]]\r\n10x2 DataFrame\r\n| Row | x         | y         |\r\n|-----|-----------|-----------|\r\n| 1   | 0.649857  | 0.557144  |\r\n| 2   | 0.57126   | 0.361365  |\r\n| 3   | 0.676964  | 0.91767   |\r\n| 4   | 0.0734608 | 0.0769796 |\r\n| 5   | 0.676981  | 0.47995   |\r\n| 6   | 0.688151  | 0.0860809 |\r\n| 7   | 0.844548  | 0.166854  |\r\n| 8   | 0.878062  | 0.457129  |\r\n| 9   | 0.719522  | 0.0969891 |\r\n| 10  | 0.927068  | 0.5675    |\r\n```"}}