filefisher.FileContainer#
- class filefisher.FileContainer(df)#
- __init__(df)#
FileContainer gathers paths and their metadata
- Parameters:
df (pd.DataFrame) – DataFrame with info about found paths from FileFinder.
Methods
__init__(df)FileContainer gathers paths and their metadata
combine_by_key([keys, sep])combine columns
concat(other[, drop_duplicates])concatenate two FileContainers
items()Return a generator of (path, metadata) tuples
search(**query)subset paths given a search query
search_single(**query)find exactly one path given a search query - raises an error otherwise
Attributes