CategoricalMultiRangeSubsetState

class glue.core.subset.CategoricalMultiRangeSubsetState(ranges, cat_att, num_att)[source]

Bases: glue.core.subset.SubsetState

A 2D subset state where one attribute is categorical and the other is numerical, and where for each category, there are multiple possible subset ranges.

Parameters:

ranges : dict

A dictionary containing for each category (key), a list of tuples giving the ranges of values for the numerical attribute.

cat_att : ComponentID

The component ID for the categorical attribute

num_att : ComponentID

The component ID for the numerical attribute

Attributes Summary

attributes

Methods Summary

copy()
to_mask(data[, view])

Attributes Documentation

attributes[source]

Methods Documentation

copy()[source]
to_mask(data, view=None)[source]