Skip to content

process_dataframe_pie() #5082

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

Closed
suterberg opened this issue Mar 13, 2025 · 2 comments
Closed

process_dataframe_pie() #5082

suterberg opened this issue Mar 13, 2025 · 2 comments

Comments

@suterberg
Copy link

In this func if your set "category_orders" args it didn't worked ,look's like args["data_frame"] didn't set current,
"nw.col" should be set with names instade of 'b'
change to this it could be run currently.

args["data_frame"] =df.with_columns(
            nw.col(names)
            .replace_strict(order, range(len(order)), return_dtype=nw.UInt32)
            .alias(token)
        ).sort(token).drop(token)
@MarcoGorelli
Copy link
Contributor

thanks @suterberg for the report, this is a duplicate of #5033 and will be addressed in the next release

@LiamConnors sorry to ping you - this issue has come up a few times, if it wouldn't be too much effort to make a patch release, I think it may be a good idea

@ndrezn ndrezn reopened this Mar 13, 2025
@ndrezn ndrezn closed this as completed Mar 13, 2025
@LiamConnors
Copy link
Member

Thanks @MarcoGorelli for the reminder about this. We are expecting to do a release with this fix today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants