Data.dir¶
- Data.dir(pattern=None)¶
Return a list of keys in the metadata, filtering with a regular expression if necessary.
- Parameters:
datafile (Data) – Data object to work with if not being used as a bound method.
- Keyword Arguments:
pattern (string or re) – is a regular expression or None to list all keys
- Returns:
list – A list of metadata keys.