adjust_segments

function of dascore.utils.pd source

adjust_segments(
    df ,
    ignore_bad_kwargs = False,
    **kwargs ,
)

Filter a dataframe and adjust its limits.

Parameters

Parameter Description
df The input dataframe
ignore_bad_kwargs Ignore kwargs that don’t apply to df, else raise.
kwargs The keyword arguments for filtering.