diff --git a/modin/pandas/indexing.py b/modin/pandas/indexing.py index 0a51dc8f87a..34f60051552 100644 --- a/modin/pandas/indexing.py +++ b/modin/pandas/indexing.py @@ -127,7 +127,7 @@ def _compute_ndim(row_loc, col_loc): return ndim -class _Location_Indexer_Base(): +class _Location_Indexer_Base(object): """Base class for location indexer like loc and iloc """ diff --git a/modin/pandas/utils.py b/modin/pandas/utils.py index 2193c4858a9..6224f4efcf7 100644 --- a/modin/pandas/utils.py +++ b/modin/pandas/utils.py @@ -15,7 +15,7 @@ _MEMOIZER_CAPACITY = 1000 # Capacity per function -class LRUCache: +class LRUCache(object): """A LRUCache implemented with collections.OrderedDict Notes: @@ -48,7 +48,7 @@ def __setitem__(self, key, value): self.cache[key] = value -class memoize: +class memoize(object): """A basic memoizer that cache the input and output of the remote function Notes: