DataFolder.flatten

DataFolder.flatten(depth=None)

Compresses all the groups and sub-groups iunto a single flat file list.

Keyword Arguments
  • ) (depth) –

  • level. (Only flatten ub-=groups that are within (depth of the deepest) –

Returns

A copy of the now flattened DatFolder