I was thinking of idiomatic things to do in DataFramesMeta
i realized how useful array comprehensions are for case if
statements.
df = @linq df |> transform(c = [
@match i begin
1 => 1.5
2 => 2.5
3 => 3.5 end
for i in :a])
One thing that makes this less useful though is that you don’t actually know what column is being operated on until the very end of the code block. It would be cool if I could lay our what we are iterating over first then do stuff to it.