I recently updated my DataFrames.jl package and noticed the following deprecation warning when doing
Warning: `getindex(df::DataFrame, col_ind::ColumnIndex)` is deprecated, use `df[!, col_ind]` instead.
I understand that I need to start doing the above as
df[:, :a] or
df[!, :a] but is there a difference between these? If not, what’s the purpose of having the two different syntaxes?