Skip to content

Template for variables in to_latex() #8213

Closed
@eXcuvator

Description

Me and several of my colleagues typically create output for variables that have greek letters. Inside pandas, we then call them "epsilon", "sBar" or similar. Right now we have to run a string replace on the output of to_latex() and then manually save it to a file.

It'd be nice to be able to give to_latex() a template such as ['epsilon':'$\epsilon$', 'sBar':'$\bar s$'] and then to_latex() would replace these in the output accordingly.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions