code: def _dummy_assertions(X_prime):
      # they are dummies, so they should sum to 1 along the row axis
      dummies = X_prime[[n for n in X_prime.columns if "WEEKDAY" in n]]
      assert (dummies.values.sum(axis=1) == 1).all()
  
file_path: pmdarima/pmdarima/preprocessing/exog/tests/test_dates.py
imports: from pmdarima.datasets._base import load_date_example
  from pmdarima.preprocessing.exog import DateFeaturizer
  from pmdarima.compat.pytest import pytest_error_str
  from numpy.testing import assert_array_equal
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: _dummy_assertions(X_prime) without return types