class_docstr: A base class for exogenous array transformers
docstr: Check the endog and exog arrays
docstr_tok: ["Check","the","endog","and","exog","arrays"]
code: def _check_y_X(self, y, X, null_allowed=False):
      """Check the endog and exog arrays"""
      y, X = super(BaseExogTransformer, self)._check_y_X(y, X)
      if X is None and not null_allowed:
          raise ValueError("X must be non-None for exog transformers")
      return y, X
  
file_path: pmdarima/pmdarima/preprocessing/exog/base.py
imports: import pandas
  import numpy
  import abc
  from ..base import BaseTransformer
label_desc: Use image node_id 1 for calling the BaseExogTransformer obj's underlying member method code with example usage: obj._check_y_X(y, X, null_allowed) and returns: y,  X