Skip to content

Conversation

@tysoncung
Copy link
Contributor

Updated the type description for the tolerance parameter in Index.reindex to accurately reflect that it can accept list-like types in addition to scalar values.

Changed: tolerance : int or float, optionaltolerance : int, float, or list-like, optional

The parameter description already documented that tolerance can be list-like (list, tuple, array, Series), but the type annotation was incomplete.

Closes #62923

…index The tolerance parameter in Index.reindex can accept list-like types (list, tuple, array, Series) in addition to scalar int/float values, but the parameter type description only mentioned 'int or float'. Updated the type description to 'int, float, or list-like' to match the actual behavior documented in the parameter description. Closes pandas-dev#62923
@mroeschke mroeschke added the Docs label Oct 31, 2025
@mroeschke mroeschke added this to the 3.0 milestone Oct 31, 2025
@mroeschke mroeschke merged commit c99b329 into pandas-dev:main Oct 31, 2025
47 checks passed
@mroeschke
Copy link
Member

Thanks @tysoncung

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants