Skip to content

feat!: require at least one expression be passed to lazyframe select and lazyframe.with_columns, remove lazyframe.clone#2206

Merged
MarcoGorelli merged 6 commits intonarwhals-dev:mainfrom
MarcoGorelli:lazyframe-strictness
Mar 15, 2025
Merged

feat!: require at least one expression be passed to lazyframe select and lazyframe.with_columns, remove lazyframe.clone#2206
MarcoGorelli merged 6 commits intonarwhals-dev:mainfrom
MarcoGorelli:lazyframe-strictness

Conversation

@MarcoGorelli
Copy link
Copy Markdown
Member

@MarcoGorelli MarcoGorelli commented Mar 14, 2025

closes #2205

This doesn't break any downstream tests, and narwhals.LazyFrame isn't widely used (yet 🤞 ) so I think it's OK to be slightly more aggressive with changes there

We can always yank / revert if anyone complains and go through the usual process

What type of PR is this? (check all applicable)

  • 💾 Refactor
  • ✨ Feature
  • 🐛 Bug Fix
  • 🔧 Optimization
  • 📝 Documentation
  • ✅ Test
  • 🐳 Other

Related issues

  • Related issue #<issue number>
  • Closes #<issue number>

Checklist

  • Code follows style guide (ruff)
  • Tests added
  • Documented the changes

If you have comments or can explain your changes, please do so below

@MarcoGorelli MarcoGorelli marked this pull request as ready for review March 14, 2025 11:38
@MarcoGorelli MarcoGorelli added enhancement New feature or request breaking labels Mar 14, 2025
@MarcoGorelli MarcoGorelli force-pushed the lazyframe-strictness branch from 9b3d048 to 55a087e Compare March 15, 2025 10:19
@MarcoGorelli
Copy link
Copy Markdown
Member Author

discussed yesterday in the call, no objections

@MarcoGorelli MarcoGorelli merged commit 84a64ab into narwhals-dev:main Mar 15, 2025
29 checks passed
@MarcoGorelli MarcoGorelli changed the title feat!: remove require at least one expression be passed to lazyframe select and lazyframe.with_columns, remove lazyframe.clone feat!: require at least one expression be passed to lazyframe select and lazyframe.with_columns, remove lazyframe.clone Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

api: disallow LazyFrame.select()

1 participant