0.6.0 available now:
Adds:
-
system.dataset.equals(dataset, dataset): Boolean
Returns True if both input datasets have the same columns, with the same types, and the same values. -
system.dataset.valuesEqual(dataset, dataset): Boolean
Returns True if both input datasets have the same number of rows/columns, and those rows/columns have the same values in the same places. -
system.dataset.columnsEqual(dataset, dataset, ignoreCase=False, includeTypes=True): Boolean
Returns True if both input datasets have the same column definitions. Use the optional keyword arguments to make the behavior more lenient. -
system.dataset.builder(**columns): DatasetBuilder
Returns a wrapped DatasetBuilder. Provided keyword arguments (if any) are used as column names; the values should be Java or Python types, or the 'short codes' accepted by system.dataset.fromCSV:alias class "byt" byte.class "s" short.class "i" int.class "l" long.class "f" float.class "d" double.class "b" bool.class "Byt" Byte.class "S" Short.class "I" Integer.class "L" Long.class "F" Float.class "D" Double.class "B" Boolean.class "O" Object.class "clr" Color.class "date" Date.class "cur" Cursor.class "dim" Dimension.class "rect" Rectangle.class "pt" Point.class "str" String.class "border" Border.class In addition, the
colTypes
function can now be called with the same short codes, or common Python types (e.g.str
instead ofjava.lang.String
).