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

Update default names in GroupColumns #808

Merged
merged 2 commits into from
Jul 23, 2024
Merged

Update default names in GroupColumns #808

merged 2 commits into from
Jul 23, 2024

Conversation

plaguss
Copy link
Contributor

@plaguss plaguss commented Jul 23, 2024

Description

This PR updates the default name of the columns for GroupColumns.

As part of #758 we renamed some steps, but the default names were not updated. The GroupColumns will generate default column names as group_.... The old CombineColumns (deprecated, to be removed in 1.5.0), as for the moment we just keep it as a copy of GroupColumns won't see any update, it should throw a warning like the following:

>>> combine = CombineColumns(columns=["test_column"])
<stdin>:1: DeprecationWarning: `CombineColumns` is deprecated and will be removed in version 1.5.0, use `GroupColumns` instead.

Closes #800

@plaguss plaguss requested a review from gabrielmbmb July 23, 2024 07:56
@plaguss plaguss assigned dvsrepo and plaguss and unassigned dvsrepo Jul 23, 2024
@plaguss plaguss requested a review from dvsrepo July 23, 2024 07:56
@plaguss plaguss added this to the 1.3.0 milestone Jul 23, 2024
@plaguss plaguss linked an issue Jul 23, 2024 that may be closed by this pull request
Copy link

Documentation for this PR has been built. You can view it at: https://distilabel.argilla.io/pr-808/

Copy link

codspeed-hq bot commented Jul 23, 2024

CodSpeed Performance Report

Merging #808 will not alter performance

Comparing combined-columns (7c97366) with develop (b7f124f)

Summary

✅ 1 untouched benchmarks

@plaguss plaguss changed the title [FEATURE] Update default names in GroupColumns Update default names in GroupColumns Jul 23, 2024
@plaguss plaguss merged commit a3f6cdd into develop Jul 23, 2024
5 of 7 checks passed
@plaguss plaguss deleted the combined-columns branch July 23, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Change default naming for combined columns
3 participants