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 090bd79 commit 56b3fbaCopy full SHA for 56b3fba
pandas/core/base.py
@@ -20,6 +20,7 @@
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,
@@ -55,7 +56,6 @@
55
56
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, DataFrame):
+ if isinstance(value, pd.DataFrame):
1275
msg = (
1276
"Value must be array-like or scalar, "
1277
f"{type(value).__name__} is not supported"
0 commit comments