We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d254dd commit 90358b3Copy full SHA for 90358b3
pandas/core/indexes/base.py
@@ -4429,9 +4429,9 @@ def join(
4429
"""
4430
if not isinstance(other, Index):
4431
warnings.warn(
4432
- f"Passing a Series to {type(self).__name__}.join is deprecated "
+ f"Passing {type(other).__name__} to {type(self).__name__}.join is deprecated "
4433
"and will raise in a future version. "
4434
- "Pass Index.join(other.index) instead.",
+ "Pass an Index instead.",
4435
Pandas4Warning,
4436
stacklevel=find_stack_level(),
4437
)
0 commit comments