Skip to content

Commit

Permalink
BUG pandas-dev#15713 fixing failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Souza committed Mar 21, 2017
1 parent 17d1d77 commit 89fb6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3971,7 +3971,7 @@ def asof(self, where, subset=None):
if not isinstance(where, Index):
where = Index(where) if is_list else Index([where])

if self.isnull().all():
if self.isnull().values.all():
return pd.Series([np.nan])

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

0 comments on commit 89fb6cf

Please sign in to comment.