Skip to content

CLN: D411: Missing blank line before section #31959

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
1 change: 1 addition & 0 deletions pandas/_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2590,6 +2590,7 @@ def test_parallel(num_threads=2, kwargs_list=None):
kwargs_list : list of dicts, optional
The list of kwargs to update original
function kwargs on different threads.

Notes
-----
This decorator does not pass the return value of the decorated function.
Expand Down
2 changes: 2 additions & 0 deletions pandas/core/indexes/datetimelike.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,12 +937,14 @@ def _wrap_joined_index(self, joined, other):
def insert(self, loc, item):
"""
Make new Index inserting new item at location

Parameters
----------
loc : int
item : object
if not either a Python datetime or a numpy integer-like, returned
Index dtype will be object rather than datetime.

Returns
-------
new_index : Index
Expand Down
4 changes: 4 additions & 0 deletions pandas/io/excel/_openpyxl.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,13 @@ def _convert_to_number_format(cls, number_format_dict):
"""
Convert ``number_format_dict`` to an openpyxl v2.1.0 number format
initializer.

Parameters
----------
number_format_dict : dict
A dict with zero or more of the following keys.
'format_code' : str

Returns
-------
number_format : str
Expand All @@ -381,12 +383,14 @@ def _convert_to_number_format(cls, number_format_dict):
def _convert_to_protection(cls, protection_dict):
"""
Convert ``protection_dict`` to an openpyxl v2 Protection object.

Parameters
----------
protection_dict : dict
A dict with zero or more of the following keys.
'locked'
'hidden'

Returns
-------
"""
Expand Down
1 change: 1 addition & 0 deletions pandas/io/excel/_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def _fill_mi_header(row, control_row):
"""Forward fill blank entries in row but only inside the same parent index.

Used for creating headers in Multiindex.

Parameters
----------
row : list
Expand Down
1 change: 1 addition & 0 deletions pandas/util/_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def validate_args(fname, args, max_fname_arg_count, compat_args):
arguments **positionally** internally when calling downstream
implementations, a dict ensures that the original
order of the keyword arguments is enforced.

Raises
------
TypeError
Expand Down