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: Better ibis interchange #901

Merged

Conversation

MarcoGorelli
Copy link
Member

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

  • πŸ’Ύ Refactor
  • ✨ Feature
  • πŸ› Bug Fix
  • πŸ”§ Optimization
  • πŸ“ Documentation
  • βœ… Test
  • 🐳 Other

Related issues

  • Related issue #
  • Closes #

Checklist

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

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

@github-actions github-actions bot added the enhancement New feature or request label Sep 3, 2024
@MarcoGorelli MarcoGorelli force-pushed the better-ibis-interchange branch from 814df87 to f9575b9 Compare September 3, 2024 08:59
@MarcoGorelli MarcoGorelli merged commit 3d246b7 into narwhals-dev:main Sep 3, 2024
21 checks passed
def __init__(self, df: Any) -> None:
self._native_frame = df

def __narwhals_dataframe__(self) -> Any:

Choose a reason for hiding this comment

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

I found a bug here. should also implement __native_namespace__. I am getting this error trying to use narwhal with ibis: NotImplementedError: Attribute native_namespace is not supported for metadata-only dataframes. The error is from nw.narwhalify.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks @afterthought for the report! Will address (or, are you interested in submitting a pull request?)

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.

2 participants