Next: Interaction Sets
Up: Datasets
Previous: Two-dimensional Plots
Index
Subsets of Dataset
Opus implements a child class of Dataset, called DatasetSubset,
which allows to define a subset of a dataset. Conceptually, it is a viewing
window for the parent Dataset object, not a copy. Thus, any change in
the parent object is seen by the child.
It is initialized by passing the parent object and an index to the
constructor. The index determines indices of elements within the parent
object that should be seen. Any call of get_attribute() returns
values corresponding to the index.
Next: Interaction Sets
Up: Datasets
Previous: Two-dimensional Plots
Index
info (at) urbansim.org