pwwang
pwwang
Or we could check if the inner message follows the logging format?
pandas ignores NAs anyway in a `groupby -> agg` chain: ```python >>> df.groupby('id').agg(np.mean) value id A 2.0 B 3.0 >>> df.groupby('id').agg(np.nanmean) value id A 2.0 B 3.0 ``` Actually, the...
It's fixed by https://github.com/pwwang/datar/commit/ba8b3e712a3dc4dfc9a0dae43e396aa94aa774e7, and will be released in the next version. It's just a matter of how we want pandas to do it. If we do it like: ```python...
It's all because `GroupBy.mean()` and alike don't have `skipna` argument and `pandas` won't keep `NA`s any way for groupby data. See: https://pandas.pydata.org/docs/reference/api/pandas.core.groupby.DataFrameGroupBy.mean.html Let's say we have `gf = df >>...
We should be able to support `na_rm` argument, and just need to expand: > func_bootstrap(mean, func=np.mean, kind="agg") https://github.com/pwwang/datar-pandas/blob/779a272a15c0d82e37e9025312f45836ccb10210/datar_pandas/api/base/arithm.py#L63 into functions on different types of objects (i.e. Series, SeriousGroupBy) (The `func_bootstrap`...
Link commit 1a4c450ee4d8b92ee6677c3ba9fc836a1a7d2d68
Closing due to lacking activities.
Check out datar: https://github.com/pwwang/datar, a closer port of dplyr and related packages from R to python.
This is seemingly solved at `v3.24.1`. But when that object/array is the argument of a function, the reactivity runs twice again: https://svelte.dev/repl/5b37ba40c8854d86a9dab9ace0b6b861?version=3.24.1
This is still an issue: https://svelte.dev/repl/5b37ba40c8854d86a9dab9ace0b6b861?version=3.29.0