Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a custom formatter for tables #1

Open
GregorCH opened this issue Dec 15, 2016 · 6 comments
Open

Create a custom formatter for tables #1

GregorCH opened this issue Dec 15, 2016 · 6 comments
Assignees

Comments

@GregorCH
Copy link
Owner

The formatter class should be representable as XML element tree. It should be able to do the following:

  • allow to transpose the resulting data frame
  • reorder and delete columns that are not necessary (this can be done in one step by keeping a list of the necessary columns)
  • allow to rename the axes. The names must pass the tex-conversion.
  • allow to format the precision for individual columns.
@GregorCH GregorCH self-assigned this Dec 15, 2016
@fschloesser
Copy link
Collaborator

This becomes relevant as rubberband should be improved.

@GregorCH
Copy link
Owner Author

I would not expect that this is happening soon. Rough formatting is already available through format strings.

@fschloesser
Copy link
Collaborator

As a preliminary step it would then also be nice to have formatstrings for the individual compare columns and the aggregations.

@GregorCH
Copy link
Owner Author

Aggregations (should) use the same formatting that the corresponding columns use. The Evaluation itself has an attribute comparecolformat that you can use for compare columns.

@fschloesser
Copy link
Collaborator

fschloesser commented Oct 31, 2017

Okay, that seems to be broken then. The getColumnFormatter method still uses thelevel and seems to scramble up a colindex with more than one entry

@fschloesser
Copy link
Collaborator

I'll fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants