code: def _fourier_terms(p, times):
      # X = []
      # for e in p:
      #     X.append(sinpi(2 * e * times))
      #     X.append(cospi(2 * e * times))
      X = C_fourier_terms(p, times)
      return np.asarray(X).T
  
file_path: pmdarima/pmdarima/preprocessing/exog/fourier.py
imports: import numpy
  from .base import BaseExogFeaturizer
  from ..base import UpdatableMixin
  from ...compat import check_is_fitted
  from ._fourier import C_fourier_terms
label_desc: Use image node_id 1 for calling a global function with example usage: _fourier_terms(p, times) and returns: np