get_interval_columns

function of dascore.utils.pd source

get_interval_columns(
    df ,
    name ,
    arrays = False,
)

Return a series of start, stop, step for columns.

Parameters

Parameter Description
df The input dataframe.
name The name of the coordinate (eg time).
arrays If True, return output as numpy arrays, else pandas series.