Skip to content

issues Search Results · repo:pydata/patsy language:Python

Filter by

149 results
 (71 ms)

149 results

inpydata/patsy (press backspace or delete to remove)

Hello, I just saw CI pipeline of my project failed due to new 1.0.0 release. Looks like in #214 pytest import was added in patsy/eval.py. Since pytest is an optional requirement for tests, it results ...
  • gospodima
  • 12
  • Opened 
    on Nov 12, 2024
  • #215

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 dataset, ...
  • rknyip
  • 1
  • Opened 
    on Oct 9, 2024
  • #211

After upgrading to NumPy 2.0.0, 6 tests fail: $ 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 ...
  • mgorny
  • 3
  • Opened 
    on Jun 28, 2024
  • #210

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 : np.arange(5), ...
  • michelegentili93
  • Opened 
    on May 28, 2024
  • #208

I m trying to use the patsy construct in a statsmodels forumla for OLS as shown in the statsmodels docs. However, I m getting the following error when trying to pass a column name as parameter. image ...
  • adityaraute
  • 1
  • Opened 
    on May 7, 2024
  • #207

In pandas 3.0 strings will be backed by arrow by default. You can enable that behavior right now with: pd.options.future.infer_string = True But dataframes containing columns of dtypestring[pyarrow_numpy] ...
  • memeplex
  • 1
  • Opened 
    on Feb 6, 2024
  • #206

Hello, Thanks for this great package. I wondered if you had any way to specify zero inflation covariates, like the r formula: y ~x1 + x2| x1 , and x1 is used for covariates only on the zero inflation ...
  • Bastien-mva
  • 1
  • Opened 
    on Feb 6, 2024
  • #205

issubsctype has been removed and instead issubdtype should be used. This stops testing against NumPy 2, which is due out in the next few months. Seems like issubdtype has been available for a long time ...
  • bashtage
  • 1
  • Opened 
    on Dec 22, 2023
  • #200

patsy uses functions from pandas that are deprecated: patsy/util.py:672: FutureWarning: is_categorical_dtype is deprecated and will be removed in a future version. Use isinstance(dtype, CategoricalDtype) ...
  • EpigeneMax
  • 4
  • Opened 
    on Dec 18, 2023
  • #198

Tested on 0.5.3 and 6bd31ca7f5f12e77a918681d14b7c28d931bde38. $ tox -e py312 py312: install_deps python -I -m pip install .[test] .pkg: install_requires python -I -m pip install setuptools =40.8.0 ...
  • mgorny
  • 4
  • Opened 
    on Nov 1, 2023
  • #196
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub