Skip to content

Commit

Permalink
Fix Styler docstring (#60001)
Browse files Browse the repository at this point in the history
* Fix Styler docstring

* Remove blankspaces
  • Loading branch information
albertvillanova authored Oct 8, 2024
1 parent f94860e commit b975191
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/io/formats/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ class Styler(StylerRenderer):
* ``level<k>`` where `k` is the level in a MultiIndex
* Column label cells include
* ``col_heading``
* ``col<n>`` where `n` is the numeric position of the column
* ``level<k>`` where `k` is the level in a MultiIndex
Expand All @@ -231,7 +232,7 @@ class Styler(StylerRenderer):
* Trimmed cells include ``col_trim`` or ``row_trim``.
Any, or all, or these classes can be renamed by using the ``css_class_names``
argument in ``Styler.set_table_classes``, giving a value such as
argument in ``Styler.set_table_styles``, giving a value such as
*{"row": "MY_ROW_CLASS", "col_trim": "", "row_trim": ""}*.
Examples
Expand Down

0 comments on commit b975191

Please sign in to comment.