code: def from_frame(dir_archive, dataframe):
      try:
          dataframe = dataframe.copy()
          dataframe.columns.name = dir_archive.__name__
      except AttributeError:
          pass
      return _from_frame(dataframe)
  
imports: from ._archives import cache, archive
  from ._archives import dict_archive
  from ._archives import null_archive
  from ._archives import dir_archive
  from ._archives import file_archive
  from ._archives import sql_archive
  from ._archives import sqltable_archive
  from ._archives import hdf_archive
  from ._archives import hdfdir_archive
  from ._archives import _sqlname, _from_frame, _to_frame
label_desc: Use image node_id 2 for calling the dir_archive obj's underlying member method code with example usage: obj.from_frame(dir_archive, dataframe) and returns: _from_frame