patsy
patsy copied to clipboard
Describing statistical models in Python using symbolic formulas
Looks like doc/content needs to be updated for sphinx +6.x ```console + /usr/bin/sphinx-build -n -T -b man doc build/sphinx/man Running Sphinx v6.2.1 python exec: /usr/bin/python3 sys.path: ['/usr/bin', '/usr/lib64/python38.zip', '/usr/lib64/python3.8', '/usr/lib64/python3.8/lib-dynload',...
Thought it may be helpful/convenient to have a link to the license in the readme
After upgrading to NumPy 2.0.0, 6 tests fail: ```pytb $ tox -e py312 .pkg: _optional_hooks> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_wheel> python...
patsy is still needed in Debian because it's a dependency of something else
It looks like Standardize(x) comes before drop_na --> therefore the standardization returns all nan ```` import numpy as np import pandas as pd from patsy import dmatrix df = pd.DataFrame({'x1':...
Very often in panel regression, the fixed effect is implemented as categorical variable. Currently, unless using some hacky way, `patsy` cannot read put index as variables. See below example panel...
updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.7 → v0.12.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.7...v0.12.0)
collections.OrderedDict is available since Python3.1 https://docs.python.org/3/library/collections.html#collections.OrderedDict
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. Release notes Sourced from actions/checkout's releases. v6.0.0 What's Changed Update README to include Node.js 24 support details and requirements by @salmanmkc in actions/checkout#2248 Persist...
In `_eval_factor` we have: ```python # Returns either a 2d ndarray, or a DataFrame, plus is_NA mask if factor_info.type == "numerical": result = atleast_2d_column_default(result, preserve_pandas=True) ``` followed by ```python if...