class_docstr: Base class for interfacing prophet and neuralprophet.
class_docstr_tok: ["Base","class","for","interfacing","prophet","and","neuralprophet","."]
docstr: Remember input type of y by setting attributes, for use in _fit.
docstr_tok: ["Remember","input","type","of","y","by","setting","attributes",",","for","use","in","_fit","."]
code: def _remember_y_input_index_type(self, y):
      """Remember input type of y by setting attributes, for use in _fit."""
      self.y_index_was_period_ = type(y.index) is pd.PeriodIndex
      self.y_index_was_int_ = pd.api.types.is_integer_dtype(y.index)
  
imports: import os
  import pandas
  from sktime.forecasting.base import BaseForecaster
label_desc: Use image node_id 3 for calling the _ProphetAdapter obj's underlying member method code with example usage: obj._remember_y_input_index_type(y) without return types