iris |> Filter(Species -> Species == "versicolor") |> Map((SepalLength, SepalWidth) -> SepalLength / SepalWidth)
This scares me a bit because it means that fast filtering would have to happen with variables themselves, named in the code, instead of with functions, due to the non-standard evaluation. It’s an R-ism that I want to avoid if possible.
I’ve opened a WIP PR in DataFrames about using the select approach for combining results of a grouping operations: https://github.com/JuliaData/DataFrames.jl/pull/1601
select
Could you please clarify how to type in the Greek symbol on the REPL?
I tried \epsilon but this is not the correct symbol.
I mean the symbol that is written here: filter(row → row.col ∈ [1,2,3], df)
Thanks!
\in
When in doubt ask the REPL:
help?> ζ "ζ" can be typed by \zeta<tab> help?> ∈ "∈" can be typed by \in<tab>