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

MAINT: centralize dataframe schemas #981

Open
wasade opened this issue Oct 1, 2024 · 0 comments
Open

MAINT: centralize dataframe schemas #981

wasade opened this issue Oct 1, 2024 · 0 comments

Comments

@wasade
Copy link
Member

wasade commented Oct 1, 2024

In support of #978, dataframe schemas should be centralized into a separate module. We should consider whether to allow to/from methods to inherit the dtype of axis labels (constrained to int and str). If Table can support int and str as a label type, then the transformation is easy.

The reason to support int and str is that, in general, labels originating from qiime2 are str. However, use of Table within a data management platform would benefit from simpler types for any upstream relations, and therefore should be allowed.

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

1 participant