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

feat: export col_info function #941

Merged
merged 3 commits into from
Sep 19, 2023
Merged

feat: export col_info function #941

merged 3 commits into from
Sep 19, 2023

Conversation

sebffischer
Copy link
Sponsor Member

@sebffischer sebffischer commented Jul 12, 2023

Without this (I think) it is not possible to add new methods for other backends.

Explanation:

In mlr3torch we have some tasks that download data from the internet and they are wrapped in a DataBackendLazy.
In order to still convert the mlr_tasks dictionary to a data.table (without downloading the data) the column information is provided hard-coded and hence requires a custom col_info method.

@mllg mllg merged commit 4e12931 into main Sep 19, 2023
3 checks passed
@mllg mllg deleted the col_info branch September 19, 2023 08:16
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

Successfully merging this pull request may close these issues.

2 participants