Skip to content

Sympy export #6

@JohannesBuchner

Description

@JohannesBuchner

Dear @MilesCranmer,

I just tried out this package. It works! Fantastic.

I see that the result is a pandas DataFrame. The equation is stored as a string. It seems difficult to parse this back into something usable automatically.

I wonder if it would be easy to add an export to a sympy formula.

Sympy then supports exporting formulas into python functions and also efficient numpy functions. This would allow automatic use of PySR's results. Also, sympy can print formulas with pprint in a easily readable form.

Cheers,
Johannes

Metadata

Metadata

Assignees

No one assigned

    Labels

    implementedThis issue was fixed and/or implemented.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions