original_docstring: 
      Create a pd.DataFrame that summarize the content of 'objs'. One
      object per row.
  
      Taken from:
      https://github.com/equinor/dlisio-notebooks/blob/master/acoustic.ipynb
  
      Parameters
      ----------
      objs : list()
          list of metadata objects
  
      **kwargs
          Keyword arguments.
          Use kwargs to tell summarize() which fields (attributes) of the
          objects you want to include in the DataFrame. The parameter name
          must match an attribute on the object in 'objs', while the value
          of the parameters is used as a column name. Any kwargs are excepted,
          but if the object does not have the requested attribute, 'KeyError'
          is used as the value.
  
      Returns
      -------
      summary : pd.DataFrame
      
docstring: Create a pd.DataFrame that summarize the content of 'objs'. One
  object per row.
  
  
  
  Parameters
  
  objs : list()
  list of metadata objects
  
  kwargs
  Keyword arguments.
  Use kwargs to tell summarize() which fields (attributes) of the
  objects you want to include in the DataFrame. The parameter name
  must match an attribute on the object in 'objs', while the value
  of the parameters is used as a column name. Any kwargs are excepted,
  but if the object does not have the requested attribute, 'KeyError'
  is used as the value.
  
  Returns
  
  
docstring_tokens: Create a pd . DataFrame that summarize the content of ' objs ' . One object per row . Parameters objs : list () list of metadata objects kwargs Keyword arguments . Use kwargs to tell summarize () which fields ( attributes ) of the objects you want to include in the DataFrame . The parameter name must match an attribute on the object in ' objs ' while the value of the parameters is used as a column name . Any kwargs are excepted but if the object does not have the requested attribute ' KeyError ' is used as the value . Returns
code: def summarize(objs, **kwargs):
      """
      Create a pd.DataFrame that summarize the content of 'objs'. One
      object per row.
  
      Taken from:
      https://github.com/equinor/dlisio-notebooks/blob/master/acoustic.ipynb
  
      Parameters
      ----------
      objs : list()
          list of metadata objects
  
      **kwargs
          Keyword arguments.
          Use kwargs to tell summarize() which fields (attributes) of the
          objects you want to include in the DataFrame. The parameter name
          must match an attribute on the object in 'objs', while the value
          of the parameters is used as a column name. Any kwargs are excepted,
          but if the object does not have the requested attribute, 'KeyError'
          is used as the value.
  
      Returns
      -------
      summary : pd.DataFrame
      """
      summary = []
      for attr, label in kwargs.items():
          column = []
          for obj in objs:
              try:
                  value = getattr(obj, attr)
              except AttributeError:
                  value = 'KeyError'
  
              column.append(value)
          summary.append(column)
  
      summary = pd.DataFrame(summary).T
      summary.columns = kwargs.values()
      return summary
code_tokens: def summarize ( objs , ** kwargs ) : summary = [ ] for attr , label in kwargs . items ( ) : column = [ ] for obj in objs : try : value = getattr ( obj , attr ) except AttributeError : value = 'KeyError' column . append ( value ) summary . append ( column ) summary = pd . DataFrame ( summary ) . T summary . columns = kwargs . values ( ) return summary
short_docstring: Create a pd.DataFrame that summarize the content of 'objs'.
short_docstring_tokens: Create a pd . DataFrame that summarize the content of ' objs ' .
comment: """
      Create a pd.DataFrame that summarize the content of 'objs'. One
      object per row.
  
      Taken from:
      https://github.com/equinor/dlisio-notebooks/blob/master/acoustic.ipynb
  
      Parameters
      ----------
      objs : list()
          list of metadata objects
  
      **kwargs
          Keyword arguments.
          Use kwargs to tell summarize() which fields (attributes) of the
          objects you want to include in the DataFrame. The parameter name
          must match an attribute on the object in 'objs', while the value
          of the parameters is used as a column name. Any kwargs are excepted,
          but if the object does not have the requested attribute, 'KeyError'
          is used as the value.
  
      Returns
      -------
      summary : pd.DataFrame
      """