Skip to content

Commit 12db40d

Browse files
committed
Bug: Fix inconsistent behavior in searchsorted (#49620)
Raise error when DataFrame is passed to searchsorted
1 parent 56b3fba commit 12db40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/base.py

Lines changed: 1 addition & 1 deletion
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+
import pandas as pd
5959
from pandas.core import (
6060
algorithms,
6161
nanops,

0 commit comments

Comments
 (0)