Skip to content

[ENH] refactor datatypes module to scikit-base classes and data records#7161

Merged
fkiraly merged 29 commits intomainfrom
datatype-refactor
Oct 14, 2024
Merged

[ENH] refactor datatypes module to scikit-base classes and data records#7161
fkiraly merged 29 commits intomainfrom
datatype-refactor

Conversation

@fkiraly
Copy link
Copy Markdown
Collaborator

@fkiraly fkiraly commented Sep 25, 2024

This PR carries out a refactor of the datatypes module to scikit-base classes and data records, with the following benefits:

  • modularity and extensibility
  • the classes can be used as records in the documentation to store information about the container specification
  • programmatic soft dependency isolation, e.g., of data containers requiring soft dependencies such as polars, dask, xarray, gluonts, etc.

The refactor parallels that in skpro, and replaces the earlier attempt in #6033. Towards #3512.

@fkiraly fkiraly added module:datatypes datatypes module: data containers, checkers & converters enhancement Adding new functionality labels Sep 25, 2024
@fkiraly fkiraly marked this pull request as ready for review October 6, 2024 22:15
@fkiraly fkiraly merged commit be7d258 into main Oct 14, 2024
@fkiraly fkiraly deleted the datatype-refactor branch October 14, 2024 15:01
fkiraly added a commit that referenced this pull request Nov 13, 2024
This PR adds documentation for the data representations, by using the
docstrings of the specification classes introduced in
#7161 as records.

Closes #1434

Depends on #7161 which should be
merged first.
benHeid pushed a commit that referenced this pull request Feb 15, 2025
…ecords (#7161)

This PR carries out a refactor of the `datatypes` module to
`scikit-base` classes and data records, with the following benefits:

* modularity and extensibility
* the classes can be used as records in the documentation to store
information about the container specification
* programmatic soft dependency isolation, e.g., of data containers
requiring soft dependencies such as `polars`, `dask`, `xarray`,
`gluonts`, etc.

The refactor parallels that in `skpro`, and replaces the earlier attempt
in #6033. Towards #3512.
benHeid pushed a commit that referenced this pull request Feb 15, 2025
This PR adds documentation for the data representations, by using the
docstrings of the specification classes introduced in
#7161 as records.

Closes #1434

Depends on #7161 which should be
merged first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Adding new functionality module:datatypes datatypes module: data containers, checkers & converters

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant