class_docstr: Sub class of DataContainer to expand data container dimension.
  This is akin from passing from `shape` to `[1, *shape]`
  when using :func:`ExpandedDataContainer.create_from`.
  
  .. seealso::
      :class:`DataContainer`
class_docstr_tok: ["Sub","class","of","DataContainer","to","expand","data","container","dimension",".","This","is","akin","from","passing","from","`","shape","`","to","`","[","1",",","*","shape","]","`","when","using",":","func",":","`","ExpandedDataContainer.create_from","`",".","..","seealso",":",":",":","class",":","`","DataContainer","`"]
docstr: Create ExpandedDataContainer with a summary id for the new id.
  This is akin from passing from `shape` to `[1, *shape]`.
  
  :param data_container: data container to transform
  :type data_container: DataContainer
  :return: expanded data container
docstr_tok: ["Create","ExpandedDataContainer","with","a","summary","id","for","the","new","id",".","This","is","akin","from","passing","from","`","shape","`","to","`","[","1",",","*","shape","]","`",".",":","param","data_container",":","data","container","to","transform",":","type","data_container",":","DataContainer",":","return",":","expanded","data","container"]
code: def create_from(data_container: DACT) -> "ExpandedDataContainer":
      """
      Create ExpandedDataContainer with a summary id for the new id.
      This is akin from passing from `shape` to `[1, *shape]`.
  
      :param data_container: data container to transform
      :type data_container: DataContainer
      :return: expanded data container
      """
      return ExpandedDataContainer(
          ids=[data_container.get_ids_summary()],
          data_inputs=[data_container.data_inputs]
          if data_container.data_inputs is not None
          else None,
          expected_outputs=[data_container.expected_outputs]
          if data_container.expected_outputs is not None
          else None,
          _old_ids=data_container._ids,
      )
  
imports: import copy
  import math
  from operator import attrgetter
  from typing import Any, Callable, Generic, Iterable, Iterator, List, Optional, Tuple, TypeVar, Union
  import numpy
  import pandas
label_desc: Use image node_id 2 for calling the ExpandedDataContainer obj's underlying member method code with example usage: obj.create_from(data_container) and returns: ExpandedDataContainer