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(rust, python): repeat_by should also support broadcasting of LHS #10735

Merged
merged 2 commits into from
Aug 26, 2023

Conversation

reswqa
Copy link
Collaborator

@reswqa reswqa commented Aug 26, 2023

This fixes #10702.

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars labels Aug 26, 2023

// SAFETY: length of iter is trusted.
unsafe {
LargeListArray::from_iter_primitive_trusted_len(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I believe we can share most of the code with these types, but before that, maybe we should unify this call first. 🤔

Copy link
Member

Choose a reason for hiding this comment

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

Yes, might be a good follow up!

@cmdlineluser
Copy link
Contributor

Thank you @reswqa!

I just remembered there was a previous issue opened for this which can also be closed.

#9815

@reswqa
Copy link
Collaborator Author

reswqa commented Aug 26, 2023

Not sure if this is by design or we can improve it. But we mark it as accepted, so open this pr first :)

@ritchie46 ritchie46 merged commit 2b200f0 into pola-rs:main Aug 26, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature python Related to Python Polars rust Related to Rust Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix broadcasting for repeat_by
3 participants