intake¶
-
lsframe.intake.
date_injectors
(lsdata)¶ class for looking for dates in file or folder names
- Parameters
lsdata (start) -- start object
- Returns
updated start object
-
lsframe.intake.
dates_filter
(lsdata, remove=None, keep=None, only_unique=True, strip_zeros=False, which=None)¶ class for reducing dates lists from the "all" option
- Parameters
lsdata (start) -- start object
remove (str or list) -- format(s) of dates to remove
keep (str or list) -- format(s) of dates to keep
only_unique (bool) -- keep or remove duplicate dates
strip_zeros (bool) -- keep or remove date=0 elements
which (str) -- which method is using the functions
- Returns
updated start object
-
lsframe.intake.
pattern_injectors
(lsdata)¶ class for looking for patterns in file or folder names
- Parameters
lsdata (start) -- start object
- Returns
updated start object
-
lsframe.intake.
patterns_filter
(lsdata, remove=None, keep=None)¶ class for filtering names based on patterns
- Parameters
lsdata (start) -- start object
remove (str or list) -- pattern(s) to use to decide which names to remove
keep (str or list) -- pattern(s) to use to decide which names to keep
- Returns
updated start object