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: Lazy/Schemas/Type checking: Polars does not raise when calling round(0) on an Int64 column #19058

Closed
mlondschien opened this issue Oct 1, 2024 · 2 comments · Fixed by #19059
Labels
documentation Improvements or additions to documentation

Comments

@mlondschien
Copy link

Description

The example in https://docs.pola.rs/user-guide/lazy/schemas/#type-checking-in-the-lazy-api does not behave as expected. Polars does not raise when calling round(0) on an Int64 column.

Link

https://docs.pola.rs/user-guide/lazy/schemas/#type-checking-in-the-lazy-api

@mlondschien mlondschien added the documentation Improvements or additions to documentation label Oct 1, 2024
@mlondschien mlondschien changed the title Lazy/Schemas/Type checking: Polars does not raise when calling round(0) on an Int64 column Docs: Lazy/Schemas/Type checking: Polars does not raise when calling round(0) on an Int64 column Oct 1, 2024
@orlp
Copy link
Collaborator

orlp commented Oct 1, 2024

The behavior is intended (#17241) but the user guide should be updated.

@rodrigogiraoserrao can you take a look?

@rodrigogiraoserrao
Copy link
Collaborator

Thanks for reporting this, @mlondschien. I've opened a PR that fixes this.

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants