Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pandas/core/indexes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3943,8 +3943,8 @@ def _evaluate_with_timedelta_like(self, other, op, opstr, reversed=False):
def _evaluate_with_datetime_like(self, other, op, opstr):
raise TypeError("can only perform ops with datetime like values")

def _evaluate_compare(self, op):
raise base.AbstractMethodError(self)
def _evaluate_compare(self, other, op):
raise com.AbstractMethodError(self)

@classmethod
def _add_comparison_methods(cls):
Expand Down
4 changes: 2 additions & 2 deletions pandas/core/internals.py
Original file line number Diff line number Diff line change
Expand Up @@ -3569,8 +3569,8 @@ def reduction(self, f, axis=0, consolidate=True, transposed=False,
placement=np.arange(len(values)))],
axes[0])

def isna(self, **kwargs):
return self.apply('apply', **kwargs)
def isna(self, func, **kwargs):
return self.apply('apply', func=func, **kwargs)

def where(self, **kwargs):
return self.apply('where', **kwargs)
Expand Down