class_docstr: Helper to make cutoff: pd.Index hashable via lru_cache.
class_docstr_tok: ["Helper","to","make","cutoff",":","pd.Index","hashable","via","lru_cache","."]
code: def __hash__(self):
      return int(pd.util.hash_pandas_object(self.index).sum())
  
imports: from functools import lru_cache
  from typing import Optional, Union
  import numpy
  import pandas
  from pandas.tseries.frequencies import to_offset
  from sktime.utils.datetime import _coerce_duration_to_int
  from sktime.utils.validation import array_is_int, array_is_timedelta_or_date_offset, is_array, is_int, is_timedelta_or_date_offset
  from sktime.utils.validation._dependencies import _check_soft_dependencies
  from sktime.utils.validation.series import VALID_INDEX_TYPES, is_in_valid_absolute_index_types, is_in_valid_index_types, is_in_valid_relative_index_types, is_integer_index
label_desc: Use image node_id 2 for calling the _HashIndex obj's underlying member method code with example usage: obj.__hash__() and returns: int