Version: 0.6.8
- New feature: we added
Sequence.cache
andSequence.reset
to allow one to save a sequence and reset it the beginning of the iterator
Version: 0.6.7
- New feature: we added
fields.get
to retrieve a specific field in a structured sequence. - New feature: We added
Sequence.join
to join together two sequences based on matching keys.
Version: 0.6.6
- New Features: We added
Sequence.window
andSequence.batch
to enable sliding window aggregations and batch aggregations.
Version: 0.6.5
- BUGFIX: Fixed bug where
Sequence.count
was throwing error when elements were non-hashable.
Version: 0.6.4
- added
sequence.peek
to allow you to examine a sequence without consuming it.
Version: 0.6.3
- added
sequnce.distinct
function to get unique values from a sequence. - Added
Sequence.count(distinct=True)
function in order to count distinct elements in a sequence.
Version: 0.6.1
-
Added the new
datapad.fields
module which provides functions for operating on lists and dicts, as if they were "columns" in a sequence of rows. The following functions were added:fields.apply
- apply functions to columns of rowsfields.add
- add columns to each row by apply functions on the rowfields.select
- limit the columns returned in each rowfields.asdict
- converts lists to dicts
-
Make
seq.groupby
eagerly collect groups by default