We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally posted at JuliaData/DataFrames.jl#2197.
The question is should we allow the following code:
julia> x = [1,2,3] 3-element Array{Int64,1}: 1 2 3 julia> x[Not(4)] ERROR: BoundsError: attempt to access 3-element Array{Int64,1} at index [Not(4)]
to work (and in this case just return [1,2,3]) instead of throwing an error?
[1,2,3]
The text was updated successfully, but these errors were encountered:
Personally, I'm in favor of the status quo, but I agree the DataFrame column name feels different than an out-of-bounds index.
Sorry, something went wrong.
OK - we can change it only for column names. Thank you!
No branches or pull requests
Originally posted at JuliaData/DataFrames.jl#2197.
The question is should we allow the following code:
to work (and in this case just return
[1,2,3]
) instead of throwing an error?The text was updated successfully, but these errors were encountered: