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 06337f6 commit 090bd79Copy full SHA for 090bd79
pandas/core/base.py
@@ -20,7 +20,6 @@
20
21
import numpy as np
22
23
-import pandas as pd
24
from pandas._libs import lib
25
from pandas._typing import (
26
Axis,
@@ -56,6 +55,7 @@
56
55
remove_na_arraylike,
57
)
58
+from pandas.core.frame import DataFrame
59
from pandas.core import (
60
algorithms,
61
nanops,
@@ -1271,7 +1271,7 @@ def searchsorted(
1271
sorter: NumpySorter = None,
1272
) -> npt.NDArray[np.intp] | np.intp:
1273
1274
- if isinstance(value, pd.DataFrame):
+ if isinstance(value, DataFrame):
1275
msg = (
1276
"Value must be array-like or scalar, "
1277
f"{type(value).__name__} is not supported"
0 commit comments