Skip to content

col_mapper module

Class for mapping column arrays.


ColumnMapper class

ColumnMapper(
    wrapper,
    col_arr,
    **kwargs
)

Used by Records and MappedArray classes to make use of column and group metadata.

Superclasses

Inherited members


col_arr property

Column array.


col_map method

Column map.

More flexible than ColumnMapper.col_range. More suited for mapped arrays.


col_range method

Column index.

Faster than ColumnMapper.col_map but only compatible with sorted columns. More suited for records.


get_col_arr method

ColumnMapper.get_col_arr(
    group_by=None
)

Get group-aware column array.


get_col_map method

ColumnMapper.get_col_map(
    group_by=None
)

Get group-aware column map.


get_col_range method

ColumnMapper.get_col_range(
    group_by=None
)

Get group-aware column range.


is_sorted method

ColumnMapper.is_sorted()

Check whether column array is sorted.