Mark Fairbanks
Mark Fairbanks
_Edit:_ Updated to reflect @DavisVaughan's suggestion [here](https://github.com/tidyverse/dplyr/issues/6214#issuecomment-1073887193). Any thoughts on implementing a `.by` arg so that functions can operate by group without returning a `grouped_df`? Basically this: ```r df %...
Currently there are a few different pyjanitor functions to deal with adding/modifying columns. - add_column() allows you to add a column, but doesn't accept lambda functions like join_apply() - transform_column()...
``` r library(dtplyr) library(dplyr, warn.conflicts = FALSE) lazy_dt(tibble(y = 1)) %>% mutate(across(y, function(x) x + n())) #> Error in `n()`: #> ! Must be used inside dplyr verbs. ```
``` r library(dplyr, warn.conflicts = FALSE) df % mutate(row_sum = rowSums(across(c(y, z)))) #> # A tibble: 3 × 4 #> x y z row_sum #> #> 1 a 1 1...
``` r library(tidyr) df % uncount(n) #> # A tibble: 3 × 1 #> x #> #> 1 a #> 2 b #> 3 b ```
Would you have any interest in adding disk.frame support for https://github.com/markfairbanks/tidytable? I found this pull request mentioning my package https://github.com/xiaodaigh/disk.frame/pull/220, which was named 'gdt' at the time, but is now...
Topics marked internal in `_pkgdown.yml` still show up in the reference index. Note that the title "internal" doesn't show up, but the contents still do. https://github.com/markfairbanks/tidytable/blob/main/pkgdown/_pkgdown.yml https://markfairbanks.github.io/tidytable/reference/index.html I might just...
Proposed interface: ```python import polars as pl from tidypolars import col, arrange, filter, mutate df = pl.DataFrame(dict(x = range(3), y = range(3), z = range(3))) ( df >> arrange('x') >>...
Closes #208
Now that `polars` is available through conda, `tidypolars` can be added.