TableStorageFormat

class audformat.define.TableStorageFormat[source]

Storage format of tables.

Specifies string values used as file extensions of the CSV and PKL files that are used to store a table or misc table. Those string values have to be provided as storage_format argument to audformat.Database.save(), audformat.MiscTable.save(), audformat.Table.save(), and when loading with to audformat.Database.load(), audformat.MiscTable.load(), audformat.Table.load(), only files with an extension matching the string values are considered.

The exact string values for CSV files are part of the audformat specifications, and should never be changed by a user.

__eq__()

TableStorageFormat.__eq__(value, /)

Return self==value.

CSV

TableStorageFormat.CSV = 'csv'

File extension for tables stored in CSV format.

PICKLE

TableStorageFormat.PICKLE = 'pkl'

File extension for tables stored in PKL format.