We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
indexers/utils.py
None
1 parent d948801 commit ab727bfCopy full SHA for ab727bf
pandas/core/indexers/utils.py
@@ -363,7 +363,7 @@ def length_of_indexer(indexer, target=None) -> int:
363
raise AssertionError("cannot find the length of the indexer")
364
365
366
-def deprecate_ndim_indexing(result, stacklevel: int = 3):
+def deprecate_ndim_indexing(result, stacklevel: int = 3) -> None:
367
"""
368
Helper function to raise the deprecation warning for multi-dimensional
369
indexing on 1D Series/Index.
@@ -409,7 +409,7 @@ def unpack_1tuple(tup):
409
return tup
410
411
412
-def check_key_length(columns: Index, key, value: DataFrame):
+def check_key_length(columns: Index, key, value: DataFrame) -> None:
413
414
Checks if a key used as indexer has the same length as the columns it is
415
associated with.
0 commit comments