Skip to content

Commit 090bd79

Browse files
committed
Update base.py
1 parent 06337f6 commit 090bd79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
import numpy as np
2222

23-
import pandas as pd
2423
from pandas._libs import lib
2524
from pandas._typing import (
2625
Axis,
@@ -56,6 +55,7 @@
5655
remove_na_arraylike,
5756
)
5857

58+
from pandas.core.frame import DataFrame
5959
from pandas.core import (
6060
algorithms,
6161
nanops,
@@ -1271,7 +1271,7 @@ def searchsorted(
12711271
sorter: NumpySorter = None,
12721272
) -> npt.NDArray[np.intp] | np.intp:
12731273

1274-
if isinstance(value, pd.DataFrame):
1274+
if isinstance(value, DataFrame):
12751275
msg = (
12761276
"Value must be array-like or scalar, "
12771277
f"{type(value).__name__} is not supported"

0 commit comments

Comments
 (0)