You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>DataFrame(x=[])[1, :]
┌ Warning: Selecting a single row from a `DataFrame` will return a `DataFrameRow`in the future. To get a `DataFrame` use `df[row_ind:row_ind, :]`.
│ caller = top-level scope at none:0
└ @ Core none:0
ERROR: BoundsError: attempt to access 0-element Array{Any,1} at index [1]
Stacktrace:
[1] getindex(::Array{Any,1}, ::Int64) at ./array.jl:739
[2] getindex(::DataFrame, ::Int64, ::Colon) at /home/milan/.julia/dev/DataFrames/src/dataframe/dataframe.jl:288
[3] top-level scope at none:0
julia>DataFrame()[1, :]
┌ Warning: Selecting a single row from a `DataFrame` will return a `DataFrameRow`in the future. To get a `DataFrame` use `df[row_ind:row_ind, :]`.
│ caller = top-level scope at none:0
└ @ Core none:00×0 DataFrame
The text was updated successfully, but these errors were encountered:
The second call should also throw a
BoundsError
:The text was updated successfully, but these errors were encountered: