Skip to content

Commit 89fb6cf

Browse files
author
Carlos Souza
committed
BUG pandas-dev#15713 fixing failing tests
1 parent 17d1d77 commit 89fb6cf

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
@@ -3971,7 +3971,7 @@ def asof(self, where, subset=None):
39713971
if not isinstance(where, Index):
39723972
where = Index(where) if is_list else Index([where])
39733973

3974-
if self.isnull().all():
3974+
if self.isnull().values.all():
39753975
return pd.Series([np.nan])
39763976

39773977
nulls = self.isnull() if is_series else self[subset].isnull().any(1)

0 commit comments

Comments
 (0)