Skip to content

Commit bafc3fa

Browse files
committed
Correct typing error
1 parent 3bd4425 commit bafc3fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8024,7 +8024,7 @@ def asof(self, where, subset=None):
80248024
np.nan, index=self.columns, name=where[0]
80258025
)
80268026

8027-
locs = self.index.asof_locs(where, ~(nulls._values))
8027+
locs = self.index.asof_locs(where, ~cast("DataFrame", nulls._values))
80288028

80298029
# mask the missing
80308030
mask = locs == -1

0 commit comments

Comments
 (0)