code: def atleast_2d(data: np.array) -> np.array:
      """
      Returns a view of the ``data` with at least `2` dimensions
  
      :param data: ndarray which dimensional size should be set to at least 2
  
      :return: ``data`` expanded from the last axis to `2` dimensions size if it doesn't satisfy it
      """
      return atleast_n_dimensions(data, ndim=2)
  
imports: from functools import reduce
  from typing import Optional
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: atleast_2d(data) and returns: atleast_n_dimensions