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

v2 API: consider specifying datatypes for pandas series #290

Open
dweindl opened this issue Jun 29, 2024 · 0 comments
Open

v2 API: consider specifying datatypes for pandas series #290

dweindl opened this issue Jun 29, 2024 · 0 comments

Comments

@dweindl
Copy link
Member

dweindl commented Jun 29, 2024

So far, there the Series of the different Dataframes had varying types, this makes code unnecessary complex.
For example, depending on the contents, the conditions table with either be float or object.
We should consider having a well-defined type for the different columns. Either via the get_*_df, or via custom pandas accessors. The latter would also allow filling in default values on the fly which would simplify things a lot. However, it could get a bit clunky to always write something like problem.parameter_df.petab_parameters.parameterScale...

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