Skip to content

Internal Refactoring: of a) pyfixest FormulaParser and b) full support of narwhals #1182

@s3alfisc

Description

@s3alfisc

Background

To support fixest formula innovations, PyFixest includes quite a lot of ugly regex code internally.
We would like to substantially clean up the logic by moving much more work to formulaic.

@leostimpfle has provided an initial PR here.

Additionally, we would like to offer full support for narwhals, which is now possible as formulaic supports it end-to-end!

This means that instead of converting from polars to pandas internally, we would like to fully compute on polars data frames in case users provide polars, and also return polars dfs and series.

To do

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions