Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

0.6.1

Compare
Choose a tag to compare
@jpivarski jpivarski released this 12 Dec 23:17
· 849 commits to master since this release
4e5bf70
  • Tables whose rowname is "tuple" and whose fields are map(str, range(n)) are visualized as tuples (so that you can see field values, unlike the opaque default) in repr and tolist().
  • Jagged cross, pairs, distincts and their arg* equivalents produce tuple-Tables.
  • Jagged cross, pairs, distincts and their arg* equivalents have a nested=False option. If nested=True, the output is jagged one level deeper to keep track of which pairs contain the same left value. (For the explode-operate-reduce pattern.)
  • Reducers are implemented on all types. Jagged reducers apply to the deepest level of jagged nesting only. Their regularaxis=None argument lets you send an axis argument to the Numpy array at the deepest level. Only rectangular arrays can be reduced in an arbitrary axis.
  • Jagged flatten has an axis=0 argument to determine which jagged level gets flattened. (This can't be negative.) flatten can happen at an arbitrary depth, but not reducers.
  • The array.at.whatever syntax has been removed; it led to unreadable code.
  • Table-tuple indexes like ["0"], ["1"], ["2"], etc. can be accessed by .i0, .i1, .i2 (up to 9).
  • Physics-motivated tests: jet cleaning and gen-reco matching.