DataFolder.flatten¶
- DataFolder.flatten(depth=None)¶
Compresses all the groups and sub-groups iunto a single flat file list.
- Parameters:
fldr (BaseFolder) – DataFolder instance when not a bound method.
- Keyword Arguments:
depth (int or None) – Only flatten ub-=groups that are within (depth of the deepest level.
- Returns:
A copy of the now flattened DatFolder