Skip to content

Polars: added polars selector ends-with#17722

Merged
ayax79 merged 2 commits intonushell:mainfrom
ayax79:polars_ends_with
Mar 4, 2026
Merged

Polars: added polars selector ends-with#17722
ayax79 merged 2 commits intonushell:mainfrom
ayax79:polars_ends_with

Conversation

@ayax79
Copy link
Copy Markdown
Contributor

@ayax79 ayax79 commented Mar 4, 2026

Release notes summary - What our users need to know

Introduces polars selector ends-with allowing columns to be selected by a suffix:

  > {
        "foo": ["x", "y"],
        "bar": [123, 456],
        "baz": [2.0, 5.5],
        "zap": [false, true],
    } |
    polars into-df --as-columns |
    polars select (polars selector ends-with z) |
    polars sort-by baz |
    polars collect
  ╭───┬──────╮
  │ # │ baz  │
  ├───┼──────┤
  │ 02.00 │
  │ 15.50 │
  ╰───┴──────╯

This is is part of an effort to add selectors available in the python API.

@github-actions github-actions bot added A:plugin-polars Work related to the polars dataframe implementation A:plugins This issue is about plugins labels Mar 4, 2026
@ayax79 ayax79 merged commit b30f6f8 into nushell:main Mar 4, 2026
16 checks passed
@github-actions github-actions bot added this to the v0.112.0 milestone Mar 4, 2026
@fdncred fdncred added notes:ready The "Release notes summary" section of this PR is ready to be included in our release notes. notes:additions Include the release notes summary in the "Additions" section labels Mar 4, 2026
@ayax79 ayax79 deleted the polars_ends_with branch March 4, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A:plugin-polars Work related to the polars dataframe implementation A:plugins This issue is about plugins notes:additions Include the release notes summary in the "Additions" section notes:ready The "Release notes summary" section of this PR is ready to be included in our release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants