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
* should change arrow to show R-arrow
* new arrow benchmarks report solution as R-arrow
* update arrow to R-arrow in a few more places
* Fix remaining issues in Tmonster#10 (#13)
* Fix remaining issues in arrow -> R-arrow rename
* Fix bug in rename code in report.R
The previous code was causing something wild to happen. The changed code is idiomatic code for replacing values in a data.frame based on a condition.
---------
Co-authored-by: Bryce Mecum <[email protected]>
"regression v1 v2 by id2 id4"="DF.groupby(['id2','id4']).agg((pl.pearson_corr('v1','v2')**2).alias('r2')).collect()",
200
200
"sum v3 count by id1:id6"="DF.groupby(['id1','id2','id3','id4','id5','id6']).agg([pl.sum('v3').alias('v3'), pl.count('v1').alias('count')]).collect()"
201
201
)},
202
-
"arrow"= {c(
202
+
"R-arrow"= {c(
203
203
"sum v1 by id1"="AT %>% group_by(id1) %>% summarise(v1=sum(v1, na.rm=TRUE))",
204
204
"sum v1 by id1:id2"="AT %>% group_by(id1, id2) %>% summarise(v1=sum(v1, na.rm=TRUE))",
205
205
"sum v1 mean v3 by id3"="AT %>% group_by(id3) %>% summarise(v1=sum(v1, na.rm=TRUE), v3=mean(v3, na.rm=TRUE))",
@@ -260,7 +260,7 @@ groupby.syntax.dict = {list(
260
260
"juliads"=list(),
261
261
"clickhouse"=list(),
262
262
"polars"=list(),
263
-
"arrow"=list("Expression row_number() <= 2L not supported in Arrow; pulling data into R"="max v1 - min v2 by id3", "Expression cor(v1, v2, ... is not supported in arrow; pulling data into R"="regression v1 v2 by id2 id4"),
263
+
"R-arrow"=list("Expression row_number() <= 2L not supported in R-arrow; pulling data into R"="max v1 - min v2 by id3", "Expression cor(v1, v2, ... is not supported in R-arrow; pulling data into R"="regression v1 v2 by id2 id4"),
0 commit comments