-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
ENH: max_rows
max_cols
kw for Styler.to_html
+ styler.options
#42972
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
Conversation
# Conflicts: # pandas/tests/io/formats/style/test_html.py
max_rows
max_cols
to Styler.to_html
max_rows
max_cols
to Styler.to_html
# Conflicts: # pandas/tests/io/formats/style/test_html.py
max_rows
max_cols
to Styler.to_html
max_rows
max_cols
kw for Styler.to_html
+ styler.options
@@ -836,6 +871,11 @@ def scale_down(rn, cn): | |||
else: | |||
return int(rn * scaling_factor), cn | |||
|
|||
if max_rows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this exercised enough in tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added specific cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you rebase
# Conflicts: # doc/source/user_guide/options.rst # doc/source/whatsnew/v1.4.0.rst # pandas/core/config_init.py # pandas/io/formats/style.py
can you merge master |
# Conflicts: # doc/source/whatsnew/v1.4.0.rst
one more item towards deprecating
DataFrame.to_html
for #41693options.rst
and an item towards consistent
pandas.options
for #41395