table_from_row_data

gammapy.utils.table.table_from_row_data(rows, **kwargs)[source]

Helper function to create table objects from row data.

  • Works with quantities.
  • Preserves order of keys if OrderedDicts are used.
Parameters:
rows : list

List of row data (each row a dict or OrderedDict)