v0.3.0
Added
-
Add
DataFrame.concat_columns/1andDataFrame.concat_columns/2for horizontally stacking
dataframes. -
Add compression as an option to write parquet files.
-
Add count metadata to
DataFrametable reader. -
Add
DataFrame.filter_with/2,DataFrame.summarise_with/2,DataFrame.mutate_with/2and
DataFrame.arrange_with/2. They all accept aDataFrameand a function, and they all work with
a new concept called "lazy series".Lazy Series is an opaque representation of a series that can be
used to perform complex operations without pulling data from the series. This is faster than
using masks. There is no big difference from the API perspective compared to the functions that were
accepting callbacks before (eg.filter/2and the newfilter_with/2), with the exception being
DataFrame.summarise_with/2that now accepts a lot more operations.
Changed
- Bump version requirement of the
tabledependency to~> 0.1.2, and raise for non-tabular values. - Normalize how columns are handled. This changes some functions to accept one column or
a list of columns, ranges, indexes and callbacks selecting columns. - Rename
DataFrame.filter/2toDataFrame.mask/2. - Rename
Series.filter/2toSeries.mask/2. - Rename
take/2from bothSeriesandDataFrametoslice/2.slice/2now they accept ranges as well. - Raise an error if
DataFrame.pivot_wider/4has float columns as IDs. This is because we can´t
properly compare floats. - Change
DataFrame.distinct/2to accept columns as argument instead of receiving it as option.
Fixed
- Ensure that we can compare boolean series in functions like
Series.equal/2. - Fix rename of columns after summarise.
- Fix inspect of float series containing
NaNorInfinityvalues. They are represented as atoms.
Deprecated
- Deprecate
DataFrame.filter/2with a callback in favor ofDataFrame.filter_with/2.