class_docstr: Base forecaster template class.
  
  The base forecaster specifies the methods and method signatures that all forecasters
  have to implement.
  
  Specific implementations of these methods is deferred to concrete forecasters.
class_docstr_tok: ["Base","forecaster","template","class",".","The","base","forecaster","specifies","the","methods","and","method","signatures","that","all","forecasters","have","to","implement",".","Specific","implementations","of","these","methods","is","deferred","to","concrete","forecasters","."]
docstr: Set and update cutoff from series y.
  
  Parameters
  ----------
  y : sktime compatible time series data container
      must be of one of the following mtypes:
          pd.Series, pd.DataFrame, np.ndarray, of Series scitype
          pd.multiindex, numpy3D, nested_univ, df-list, of Panel scitype
          pd_multiindex_hier, of Hierarchical scitype
  Notes
  -----
  Set self._cutoff to pandas.Index containing latest index seen in `y`.
docstr_tok: ["Set","and","update","cutoff","from","series","y.","Parameters","--","--","--","--","--","y",":","sktime","compatible","time","series","data","container","must","be","of","one","of","the","following","mtypes",":","pd.Series",",","pd.DataFrame",",","np.ndarray",",","of","Series","scitype","pd.multiindex",",","numpy3D",",","nested_univ",",","df-list",",","of","Panel","scitype","pd_multiindex_hier",",","of","Hierarchical","scitype","Notes","--","--","-","Set","self._cutoff","to","pandas.Index","containing","latest","index","seen","in","`","y","`","."]
code: def _set_cutoff_from_y(self, y):
      """Set and update cutoff from series y.
  
      Parameters
      ----------
      y : sktime compatible time series data container
          must be of one of the following mtypes:
              pd.Series, pd.DataFrame, np.ndarray, of Series scitype
              pd.multiindex, numpy3D, nested_univ, df-list, of Panel scitype
              pd_multiindex_hier, of Hierarchical scitype
      Notes
      -----
      Set self._cutoff to pandas.Index containing latest index seen in `y`.
      """
      cutoff_idx = get_cutoff(y, self.cutoff, return_index=True)
      self._cutoff = cutoff_idx
  
imports: from copy import deepcopy
  from itertools import product
  import numpy
  import pandas
  from sktime.base import BaseEstimator
  from sktime.datatypes import VectorizedDF, check_is_scitype, convert_to, get_cutoff, mtype_to_scitype, scitype_to_mtype, update_data
  from sktime.forecasting.base._fh import ForecastingHorizon
  from sktime.utils.datetime import _shift
  from sktime.utils.validation._dependencies import _check_estimator_deps
  from sktime.utils.validation.forecasting import check_alpha, check_cv, check_fh, check_X
  from sktime.utils.validation.series import check_equal_time_index
  from sktime.utils.warnings import warn
label_desc: Use image node_id 26 for calling the BaseForecaster obj's underlying member method code with example usage: obj._set_cutoff_from_y(y) without return types