patsy icon indicating copy to clipboard operation
patsy copied to clipboard

Describing statistical models in Python using symbolic formulas

Results 80 patsy issues
Sort by recently updated
recently updated
newest added

With NumPy 1.9.1, Pandas 0.15.2, and Patsy 0.3.0: ``` $ nosetests ............./usr/local/lib/python2.7/dist-packages/pandas-0.15.2_182_gbb9c311-py2.7-linux-x86_64.egg/pandas/core/c ategorical.py:462: FutureWarning: Accessing 'levels' is deprecated, use 'categories' warn("Accessing 'levels' is deprecated, use 'categories'", FutureWarning) /usr/local/lib/python2.7/dist-packages/pandas-0.15.2_182_gbb9c311-py2.7-linux-x86_64.egg/pandas/core/categorical.py :414: FutureWarning:...

I have a columns whose unique looks like: ``` array([nan, 'CONFERENCE', 'ANALYST', 'FORUM', 'SEMINAR'], dtype=object) ``` I would expect that adding `C(col_name)` to the formula would create 4 dummy variables...

Do we really need, say, the reference level in the Treatment contrast? I'm not sure it adds enough information vs. the complexity it adds to the names to warrant inclusion....

I found it awkward to use the syntax for using stateful transforms, as shown by the tutorial example: ``` python >>> build_design_matrices([mat.design_info.builder], new_data)[0] ``` Two reasons: 1. Understanding the full...

Two possible improvements in how we work with contrasts: - (minor) Maybe we should have a way to specify a contrast symbolically, like `linear_constraint` but just the linear part, not...

enhancement

Some things that would be nice: ``` build_design_matrices([builder], {"x": 1, "y": [1, 2, 3]}) ``` should probably broadcast `x` against `y` -- very nice for prediction! (But if it were...

First I want to thank the developer team for their excellent work. Well, I feel that the "predictors" names when using for instaqnce C( predictor, Treatment(5)) ar too long and...

This is observed on patsy 0.1.0. I saw that the design_info object of a design matrix uses "Intercept" as the encoding for the intercept term so I wondered what would...

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...

I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm...