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
Thanks for bringing this up, @christophscheuch. This use case has definitely been on my mind.
There are a couple of things that make this tricky (but definitely not impossible) to implement.
One of them is that we need to use metadata fields within the data frame to keep track of whether a data frame is currently in rowwise mode. This is somewhat similar to @group_by except that grouping is already tracked within DataFrames.jl whereas rowwise is not. Once this ability is implemented, we need to make all other macros aware of it and make sure that it plays nicely with grouping and ungrouping.
I'm saving this for a later update but agree we should add it.
So in
dplyr
, I can group data into individual rows usingrowwise()
and functions will compute results for each row. Here is an example:If I want to do the same in Julia using
DataFrames.jl
, I'd do it like this:Does it make sense to have something like that in
TidierData.jl
?The text was updated successfully, but these errors were encountered: