class_docstr: Base class for interfacing prophet and neuralprophet.
class_docstr_tok: ["Base","class","for","interfacing","prophet","and","neuralprophet","."]
docstr: Get a prophet compatible fh, in datetime, even if fh was int.
docstr_tok: ["Get","a","prophet","compatible","fh",",","in","datetime",",","even","if","fh","was","int","."]
code: def _get_prophet_fh(self):
      """Get a prophet compatible fh, in datetime, even if fh was int."""
      fh = self.fh.to_absolute_index(cutoff=self.cutoff)
      if isinstance(fh, pd.PeriodIndex):
          fh = fh.to_timestamp()
      if not isinstance(fh, pd.DatetimeIndex):
          max_int = fh[-1] + 1
          fh_date = pd.date_range(
              start="2000-01-01", periods=max_int, freq="D"
          )
          fh = fh_date[fh]
      return fh
  
imports: import os
  import pandas
  from sktime.forecasting.base import BaseForecaster
label_desc: Use image node_id 5 for calling the _ProphetAdapter obj's underlying member method code with example usage: obj._get_prophet_fh() and returns: fh