Will Dean

Results 623 comments of Will Dean

I think that this is completed with the HSGP `parameterize_from_data` method https://www.pymc-marketing.io/en/stable/api/generated/classmethods/pymc_marketing.mmm.hsgp.HSGP.parameterize_from_data.html#pymc_marketing.mmm.hsgp.HSGP.parameterize_from_data https://www.pymc-marketing.io/en/stable/api/generated/pymc_marketing.mmm.hsgp.create_complexity_penalizing_prior.html#pymc_marketing.mmm.hsgp.create_complexity_penalizing_prior https://www.pymc-marketing.io/en/stable/api/generated/pymc_marketing.mmm.hsgp.create_constrained_inverse_gamma_prior.html#pymc_marketing.mmm.hsgp.create_constrained_inverse_gamma_prior

Amazing. I am happy to contribute as well

Any update on this?

Working through this: ``` check-api-reference....................................................................Failed - hook id: check-api-reference - exit code: 1 Series.str: not documented {'zfill'} Expr.str: not documented {'zfill'} ```

Thanks. On my way now. Will add some tests when I log on later

Is this a bug in pandas? ```python import pandas as pd import pyarrow as pa pd.Series(["A", "AB", "ABC"], dtype=pd.ArrowDtype(pa.string())).str.zfill(3) ``` Trackback: ``` Traceback (most recent call last): File "", line...

I've created a pandas issue here https://github.com/pandas-dev/pandas/issues/61485

How do y'all do the CASE WHEN. Are there any examples? Or maybe you have a different way of implementing in mind

In the cases with no implementation of zfill (which seems like a few), I was using lpad. I was thinking on aiming for CASE WHEN starts_with(col, "+") THEN ... WHEN...

Awesome. Thanks for the lead. Will look into that example