DataFrameSpool

class of dascore.core.spool
inherits from: BaseSpool, abc.ABC
source

DataFrameSpool(
    select_kwargs = None,
    merge_kwargs = None,
)

An abstract class for spools whose contents are managed by a dataframe.

Methods

Name Description
chunk Chunk the data in the spool along specified dimension.
concatenate Concatenate the patches together.
get_contents Get a dataframe of the spool contents.
map Map a function of all the contents of the spool.
new_from_df Create a new instance from dataframes.
select Sub-select parts of the spool.
sort Sort the Spool based on a specific attribute.
split Yield sub-patches based on specified parameters.
stack_patches Stack (add) all patches compatible with first patch together.
update Updates the contents of the spool, return the updated spool.