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): Add docstring example for DataFrame.limit #16753

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

montanarograziano
Copy link
Contributor

Related to: Add missing docstring examples #13161

Add example for:
https://docs.pola.rs/py-polars/html/reference/dataframe/api/polars.DataFrame.limit.html

Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.37%. Comparing base (5d0e339) to head (79b6e1c).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #16753      +/-   ##
==========================================
- Coverage   81.45%   81.37%   -0.08%     
==========================================
  Files        1413     1415       +2     
  Lines      186053   186167     +114     
  Branches     2756     2720      -36     
==========================================
- Hits       151547   151496      -51     
- Misses      34003    34177     +174     
+ Partials      503      494       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@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.

Thanks - some minor comments on the formatting and this can be merged.

py-polars/polars/dataframe/frame.py Outdated Show resolved Hide resolved
py-polars/polars/dataframe/frame.py Outdated Show resolved Hide resolved
@stinodego stinodego changed the title Add docstring example for DataFrame.limit() docs(python): Add docstring example for DataFrame.limit() Jun 5, 2024
@github-actions github-actions bot added documentation Improvements or additions to documentation python Related to Python Polars labels Jun 5, 2024
@montanarograziano
Copy link
Contributor Author

Thank you! I've applied the changes you mentioned.

Copy link
Member

@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.

Great, thanks!

@stinodego stinodego merged commit 5c8b6c5 into pola-rs:main Jun 6, 2024
14 checks passed
@stinodego stinodego changed the title docs(python): Add docstring example for DataFrame.limit() docs(python): Add docstring example for DataFrame.limit Jun 7, 2024
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