Skip to content

Commit 56b3fba

Browse files
committed
Revert "Update base.py"
This reverts commit 090bd79.
1 parent 090bd79 commit 56b3fba

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,6 +20,7 @@
2020

2121
import numpy as np
2222

23+
import pandas as pd
2324
from pandas._libs import lib
2425
from pandas._typing import (
2526
Axis,
@@ -55,7 +56,6 @@
5556
remove_na_arraylike,
5657
)
5758

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

0 commit comments

Comments
 (0)