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

docs(python): Fix some links, and make map_batches warning more evident #13081

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

MarcoGorelli
Copy link
Collaborator

No description provided.

@github-actions github-actions bot added documentation Improvements or additions to documentation python Related to Python Polars labels Dec 16, 2023
Comment on lines +3987 to +3991
.. warning::
If you are looking to map a function over a window function or group_by
context, refer to :func:`map_elements` instead.
Read more in `the book
<https://pola-rs.github.io/polars/user-guide/expressions/user-defined-functions>`_.
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 don't think this note is visibible enough, so I'm suggesting to move it to a warnings directive

alias
Expr.alias
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this currently doesn't render, as it's from a different class (here we're in the .name namespace)

@MarcoGorelli MarcoGorelli marked this pull request as ready for review December 16, 2023 18:37
Copy link
Contributor

@stinodego stinodego left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks Marco!

@stinodego stinodego changed the title docs(python): fix some links, and make map_batches warning more evident docs(python): Fix some links, and make map_batches warning more evident Dec 16, 2023
@stinodego stinodego merged commit d3bd70d into pola-rs:main Dec 16, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants