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

enh: Add .rows(named=False) support for pyarrow #1155

Merged
merged 4 commits into from
Oct 11, 2024

Conversation

schloerke
Copy link
Contributor

@schloerke schloerke commented Oct 8, 2024

I'm in the camp of slow support is better than no support.

If there ever comes a time that pyarrow supports retrieving row values more natively, then this code can be updated.

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

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

Related issues

  • Related issue # NA
  • Closes # NA

Checklist

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

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

posit-dev/py-shiny uses .rows(named=False) to retrieve the values

Slow support is better than no support
@github-actions github-actions bot added the enhancement New feature or request label Oct 8, 2024
Copy link
Member

@FBruzzesi FBruzzesi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @schloerke , thanks for the PR! I tend to agree with the statement:

I'm in the camp of slow support is better than no support.

Not sure about Marco's opinion though.

Regarding the failing CI, you should remove the part of the tests that explicitly fails/raises for pyarrow case

@schloerke
Copy link
Contributor Author

@FBruzzesi Fixed 😄

Narwhal's testing, pre-commit, and uv integration is quite amazing 🤩 . Some day py-shiny will be have its testing infrastructure heavily from narwhals. 🥳

Copy link
Member

@FBruzzesi FBruzzesi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a +1 from me 😉

DogsHighFiveGIF (2)

@schloerke schloerke marked this pull request as ready for review October 9, 2024 14:39
@MarcoGorelli
Copy link
Member

thanks both! i'm just at a company retreat but i'll try to merge / release tomorrow

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @schloerke and @FBruzzesi for reviewing!

@MarcoGorelli MarcoGorelli merged commit 000c360 into narwhals-dev:main Oct 11, 2024
23 checks passed
akmalsoliev pushed a commit to akmalsoliev/narwhals that referenced this pull request Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants