class_docstr: Mixin class providing convenience methods for column expansion.
docstr: Expands the data matrix columns without reordering the indices.
  
  Args:
      X: Base dataset to expand.
  
      new_columns: The columns to expand the dataset by.
  
  Returns:
      Expanded dataset.
docstr_tok: ["Expands","the","data","matrix","columns","without","reordering","the","indices",".","Args",":","X",":","Base","dataset","to","expand",".","new_columns",":","The","columns","to","expand","the","dataset","by",".","Returns",":","Expanded","dataset","."]
code: def _expand_columns(
      X: np.ndarray, new_columns: np.ndarray
  ) -> np.ndarray:
      """
      Expands the data matrix columns without reordering the indices.
  
      Args:
          X: Base dataset to expand.
  
          new_columns: The columns to expand the dataset by.
  
      Returns:
          Expanded dataset.
      """
      return np.hstack([X, new_columns])
  
imports: import itertools
  from abc import ABCMeta, abstractmethod
  from copy import deepcopy
  from typing import Dict, List, Tuple
  import numpy
  import torch
  from causalnex.structure.structuremodel import StructureModel
label_desc: Use image node_id 1 for calling the ExpandColumnsMixin obj's underlying member method code with example usage: obj._expand_columns(X, new_columns) and returns: np