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

Add method / tool to convert set of dataset configs to a pandas dataframe #40

Open
benkrikler opened this issue Dec 8, 2019 · 1 comment

Comments

@benkrikler
Copy link
Member

The YAML-based configs that curator handles are intended to contain useful meta-data, that's specific to each dataset. This is currently (to my knowledge) only used in the main processing of the input ROOT trees, however the same meta-data can be useful in later stages, such as dataset-specific scale factors (e.g. a cross section). It would be helpful and relevant to curator if it could convert between the YAML format and a pandas dataframe, possibly containing a subset of fields.

The scope of this issue is first and foremost to extract metadata from the yaml configs, but elsewhere the reverse process has been requested: adding meta-data to the configs using a table / spreadsheet / dataframe. Depending on the implementation, that might be (partially) addressed as well.

@benkrikler
Copy link
Member Author

Some of the functionality this issue was intended to add has been partially included now in fast-plotter from: FAST-HEP/fast-plotter#36. However, improving support for these functions within fast-curator itself could be a useful separation of concepts and responsibilities, so I think this is a valid feature request still.

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

No branches or pull requests

1 participant