Skip to content

v0.40.0

Compare
Choose a tag to compare
@lwhite1 lwhite1 released this 17 Oct 12:59
· 125 commits to master since this release

This release focused on minor enhancements that eliminate gaps in functionality.

Note that the change to method Table:shape() modified the String that is returned, changing the functionality of the method slightly.

Enhancements

@lwhite1
Minor extensions (#999)
Added methods:

  • DoubleColumn:asDoubleArray()

  • FloatColumn:asFloatArray()

  • IntColumn:asIntArray()

  • ShortColumn:asShortArray()

  • StringFilters:isIn()

  • StringFilters:iNotIn()

  • IntColumn:isNotIn()

Other enhancement:

  • Made Table:append() accept any Relation as its argument, not just another table.

Made Table:removeColumns() return Table rather than Relation (#1003) …

Added method Date:isNotEqualTo(LocalDate) (#1004) …

Made shape() return the name of the table, along with the shape (#1005)

Standardized names for methods, added missing methods (#1010)

  • Deprecated addRow(Row) and added appendRow(Row) to make the name more consistent with append(Table).
  • Added methods selectColumns() and rejectColumns() to provide variations to removeColumns() and retainColumns() that return new tables rather than modify the table in-place.
  • Added method Relation:containsColumn(String name);
  • other minor enhancements to code and documentation

Made Table:countBy() take varargs so the counts can group on more than one column