Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

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)