class_docstr: Class to build a Prophet Model
      
class_docstr_tok: ["Class","to","build","a","Prophet","Model"]
docstr: Returns the time interval in Prophet compatible format
  
  :param for_cv If False, this will return the format needed to make future dataframe (for univariate analysis)
  If True, this will return the format needed to be passed to the cross-validation object
docstr_tok: ["Returns","the","time","interval","in","Prophet","compatible","format",":","param","for_cv","If","False",",","this","will","return","the","format","needed","to","make","future","dataframe","(","for","univariate","analysis",")","If","True",",","this","will","return","the","format","needed","to","be","passed","to","the","cross-validation","object"]
code: def get_prophet_time_interval(self, for_cv: bool = False) -> str:
      """
      Returns the time interval in Prophet compatible format
  
      :param for_cv If False, this will return the format needed to make future dataframe (for univariate analysis)
      If True, this will return the format needed to be passed to the cross-validation object
      """
      if self.time_interval in ["months", "month", "m"]:
          time_int = "M"
      elif self.time_interval in ["days", "daily", "d"]:
          time_int = "D"
      elif self.time_interval in ["weeks", "weekly", "w"]:
          time_int = "W"
      # TODO: Add time_int for other options if they are different for CV and for future forecasts
      elif self.time_interval in ["qtr", "quarter", "q"]:
          time_int = "Q"
      elif self.time_interval in ["years", "year", "annual", "y", "a"]:
          time_int = "Y"
      elif self.time_interval in ["hours", "hourly", "h"]:
          time_int = "H"
      elif self.time_interval in ["minutes", "minute", "min", "n"]:
          time_int = "M"
      elif self.time_interval in ["seconds", "second", "sec", "s"]:
          time_int = "S"
      else:
          time_int = "W"
      return time_int
  
imports: from typing import Optional
  import logging
  import copy
  import time
  import numpy
  from sklearn.model_selection import TimeSeriesSplit
  import pandas
  from pandas.core.generic import NDFrame
  import pdb
  import dask
  import dask.dataframe
  import matplotlib.pyplot
  from prophet import Prophet
  from prophet.diagnostics import cross_validation
  from prophet.diagnostics import performance_metrics
  from prophet.plot import plot_cross_validation_metric
  from .build_base import BuildBase
  from ..utils import print_dynamic_rmse, quick_ts_plot, print_ts_model_stats
  from ..utils.logging import SuppressStdoutStderr
  from sklearn.metrics import mean_squared_error
  from prophet import Prophet
  import time
  import pdb
  import copy
  import matplotlib.pyplot
label_desc: Use image node_id 5 for calling the BuildProphet obj's underlying member method code with example usage: obj.get_prophet_time_interval(for_cv) and returns: time_int