schema_util

Utilities

Functions

flatten_schema(hed_schema[, skip_non_tag])

Returns a 3-column dataframe representing a schema.

flatten_schema(hed_schema, skip_non_tag=False)[source]

Returns a 3-column dataframe representing a schema.

Parameters:
  • hed_schema (HedSchema) – the schema to flatten

  • skip_non_tag (bool) – Skips all sections except tag

Returns:

Represents a HED schema in flattened form.

Return type:

DataFrame