pydata / pydata/patsy

Need a way to request the LHS of a formula to *not* go through design matrix processing

Open
#62 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

statsmodels-request
Dominant language
Python
Stars
990
Forks
106
Avg merge
7d 34m
Merged PRs (30d)
1

Description

E.g. when LHS is categorical

Or maybe we should just make it possible to specify that LHS should categorical, and then patsy returns integer array + labels.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Patsy's existing formula and design-matrix processing, focusing on how the left-hand side is handled for categorical data. The issue needs a settled behavior first: either bypass design-matrix processing for the LHS or support categorical LHS output as an integer array with labels.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.