Skip to content

CLN: D409: Section underline should match the length of its name #31958

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pandas/core/indexes/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ def _lexsort_depth(self) -> int:
MultiIndex that are sorted lexically

Returns
------
-------
int
"""
int64_codes = [ensure_int64(level_codes) for level_codes in self.codes]
Expand Down
2 changes: 1 addition & 1 deletion pandas/tests/arithmetic/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def assert_invalid_addsub_type(left, right, msg=None):
Helper to assert that left and right can be neither added nor subtracted.

Parameters
---------
----------
left : object
right : object
msg : str or None, default None
Expand Down
8 changes: 4 additions & 4 deletions pandas/util/_test_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ def test_foo():

def safe_import(mod_name: str, min_version: Optional[str] = None):
"""
Parameters:
-----------
Parameters
----------
mod_name : str
Name of the module to be imported
min_version : str, default None
Minimum required version of the specified mod_name

Returns:
--------
Returns
-------
object
The imported module if successful, or False
"""
Expand Down