get_instruction_df

method of dascore.utils.chunk.ChunkManager source

get_instruction_df(
    self ,
    source_df ,
    chunked_df ,
)

Get a dataframe connecting the chunked dataframe to its origin.

This is used to connect source data to desired data after chunking operation.

Parameters

Parameter Description
source_df The dataframe before chunking
chunked_df The chunked dataframe (output of chunk method)