RowSequence¶
- 
class lsst.daf.relation.iteration.RowSequence(rows: collections.abc.Sequence[collections.abc.Mapping[lsst.daf.relation._columns._tag.ColumnTag, Any]])¶
- Bases: - lsst.daf.relation.iteration.MaterializedRowIterable- A - RowIterablebacked by a- Sequence- Parameters: - rows : Mapping
- Sequence of rows, where each row is (as usual for - RowIterabletypes) a- Mappingwith- ColumnTagkeys.
 - Methods Summary - materialized()- Convert this iterable to one that holds its rows in a Python collection of some kind, instead of generating them lazily. - sliced(start, stop, None])- Apply a slice operation to this - RowIterable.- to_mapping(unique_key)- Convert this iterable to a - RowMapping, unless it already is one.- to_sequence()- Convert this iterable to a - RowSequence, unless it already is one.- Methods Documentation - 
materialized() → lsst.daf.relation.iteration._row_iterable.MaterializedRowIterable¶
- Convert this iterable to one that holds its rows in a Python collection of some kind, instead of generating them lazily. - Returns: - rows : MaterializedRowIterable
- A - RowIterablethat isn’t lazy.
 
- rows : 
 - 
sliced(start: int, stop: int | None[int, None]) → lsst.daf.relation.iteration._row_iterable.RowIterable¶
- Apply a slice operation to this - RowIterable.- Parameters: - Returns: - rows : RowIterable
- Iterable representing the slice. May or may not be lazy. 
 
- rows : 
 - 
to_mapping(unique_key: collections.abc.Sequence[lsst.daf.relation._columns._tag.ColumnTag]) → lsst.daf.relation.iteration._row_iterable.RowMapping¶
- Convert this iterable to a - RowMapping, unless it already is one.- Parameters: - Returns: - rows : RowMapping
- A - RowIterablebacked by a mapping.
 
- rows : 
 - 
to_sequence() → lsst.daf.relation.iteration._row_iterable.RowSequence¶
- Convert this iterable to a - RowSequence, unless it already is one.- Returns: - rows : RowSequence
- A - RowIterablebacked by a sequence.
 
- rows : 
 
- rows :