Skip to content

allow setting name of TStatistic or RDataFrame.Stats #19942

@ynikitenko

Description

@ynikitenko

Explain what you would like to see improved and how.

I use RDataFrame.Stats. That does not allow setting the name of the resulting statistics. This is a pity, since RDataFrame by design allows producing many results at once.
At the same time, TStatistics does not allow changing the name after its creation.

As a result, printing statistics results in many columns with "OBJ: TStatistic".

It would be good to allow setting name to TStatistic. Alternatively, one may allow setting name in the RDataFrame.Stats method.

ROOT version

Any.

Installation method

any

Operating system

any

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions