Skip to content

Commit 348edf3

Browse files
committed
API: use strict=True in array_equivalent_object
1 parent c0f1288 commit 348edf3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pandas/core/dtypes/missing.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@
4444
)
4545
from pandas.core.dtypes.inference import is_list_like
4646

47-
import pandas as pd
48-
4947
if TYPE_CHECKING:
5048
from re import Pattern
5149

@@ -504,12 +502,6 @@ def _array_equivalent_object(
504502
mask = None
505503

506504
try:
507-
warnings.warn(
508-
"array_equivalent_object now uses strict=True for comparison. "
509-
"This may break code that relied on non-strict comparison.",
510-
pd.errors.FutureWarning,
511-
stacklevel=2,
512-
)
513505
if mask is None:
514506
return lib.array_equivalent_object(left, right, strict=True)
515507
if not lib.array_equivalent_object(left[~mask], right[~mask], strict=True):

0 commit comments

Comments
 (0)