ipet icon indicating copy to clipboard operation
ipet copied to clipboard

Create a custom formatter for tables

Open GregorCH opened this issue 8 years ago • 6 comments

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 avatar Dec 15 '16 16:12 GregorCH

This becomes relevant as rubberband should be improved.

fschloesser avatar Oct 30 '17 13:10 fschloesser

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

GregorCH avatar Oct 30 '17 14:10 GregorCH

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

fschloesser avatar Oct 30 '17 14:10 fschloesser

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.

GregorCH avatar Oct 30 '17 14:10 GregorCH

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 avatar Oct 31 '17 12:10 fschloesser

I'll fix it

fschloesser avatar Oct 31 '17 12:10 fschloesser