Skip to content

Commit

Permalink
DOC: Fix identation issues with docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomsmiranda committed Jun 11, 2024
1 parent 7ed8fb5 commit 3db4686
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2127,9 +2127,9 @@ def _repr_data_resource_(self):
storage_options_versionadded="1.2.0",
extra_parameters=textwrap.dedent(
"""\
engine_kwargs : dict, optional
Arbitrary keyword arguments passed to excel engine.
"""
engine_kwargs : dict, optional
Arbitrary keyword arguments passed to excel engine.
"""
),
extra_examples="",
)
Expand Down
2 changes: 1 addition & 1 deletion pandas/io/formats/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def set_tooltips(
storage_options_versionadded="1.5.0",
extra_parameters="",
extra_examples=textwrap.dedent(
"""\
"""
If you wish to write excel notes to the workbook, you can do so by
passing a DataFrame to ``set_tooltips``. This process is independent
from writing data to the workbook, therefore both DataFrames can have
Expand Down

0 comments on commit 3db4686

Please sign in to comment.