queryverse / Query.jl

Query almost anything in julia
Other
396 stars 50 forks source link

Add an option to select columns based on eltype #222

Open davidanthoff opened 5 years ago

davidanthoff commented 5 years ago

For example, select all Float64 columns.

One option might be df |> @select(<:Float64)... We should also take a look how this is done in dplyr.

Yijia-Chen commented 5 years ago

For the example above, should the syntax be df |> @select(::Float64)? Because <:Float64 already means a subtype of Float64, while :Float64 confounds with a column name selection.