gab23r
gab23r
Thank you! I should definitely have a closer look to `pandera` But for now, I would like to have a lightweight solution. However, how do you make the first solution...
I agree, I already raise this behavior here: #11569
IMHO, `by='a' and by=['a']` are not equivalent, and I would prefer the output types to be align to the input types and not on the data itself. But this idea...
Maybe because `_cumsum_nb4` needs to be compiled several times ?
Is it reasonable to say that `map` could take either a Callable or a dictionary? Then the default value could be handle via `fill_null` and new column via `alias`
I am working on it, will propose a PR soon !
A `schema` argument would be super useful especially to create an empty dataframe from the schema of another one This is super useful to create mwe of bugs for exemple...
Cool! I didn't known that, I add an example in the doc #6225
@ritchie46, we could even accept Expr for min and max argument, In this case we could maybe use when().then().otherwise() internally ? Or it will lose too much in performance compare...