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
Once this package requires 0.7 at a minimum, we can define column lookup in terms of getproperty in addition to getindex, so that one can access a column x of a DataFramedf as df.x in addition to df[:x].
We could consider a full replacement, but continuing to allow df[:x] permits fetching multiple columns at a time via df[:, [:x, :y, :z]]. I'm not sure how that would translate to the getproperty syntax.
The text was updated successfully, but these errors were encountered:
Agreed. It would make sense to couple this to a port to NamedTuple (#1335), in particular since filter would then pass a NamedTuple (which supports the dot syntax) to the user-provided predicate.
Once this package requires 0.7 at a minimum, we can define column lookup in terms of
getproperty
in addition togetindex
, so that one can access a columnx
of aDataFrame
df
asdf.x
in addition todf[:x]
.We could consider a full replacement, but continuing to allow
df[:x]
permits fetching multiple columns at a time viadf[:, [:x, :y, :z]]
. I'm not sure how that would translate to thegetproperty
syntax.The text was updated successfully, but these errors were encountered: