class_docstr: Constant time feature using a predefined value.
class_docstr_tok: ["Constant","time","feature","using","a","predefined","value","."]
code: def __call__(self, index: pd.PeriodIndex) -> np.ndarray:
      return np.full(index.shape, self.value)
  
imports: from typing import Any, Callable, Dict, List
  import numpy
  import pandas
  from pandas.tseries import offsets
  from pandas.tseries.frequencies import to_offset
  from gluonts.pydantic import BaseModel
label_desc: Use image node_id 1 for calling the Constant obj's underlying member method code with example usage: obj.__call__(index) and returns: np