[Release] Explorer - v0.10
Added
-
Add support for the decimals data type.
Decimals dtypes are represented by the
{:decimal, precision, scale}tuple,
where precision can be a positive integer from 0 to 38, and is the maximum number
of digits that can be represented by the decimal. The scale is the number of
digits after the decimal point.With this addition, we also added the
:decimalpackage as a new dependency.
TheExplorer.Series.from_list/2function accepts decimal numbers from that
package as values *%Decimal{}.This version has a small number of operations, but is a good foundation.
-
Allow the usage of queries and lazy series outside callbacks and macros.
This is an improvement to functions that were originally designed to accept callbacks.
With this change you can now reuse lazy series across different “queries”.
See theExplorer.Querydocs for details.The affected functions are:
Explorer.DataFrame.filter_with/2Explorer.DataFrame.mutate_with/2Explorer.DataFrame.sort_with/2Explorer.DataFrame.summarise_with/2
-
Allow accessing the dataframe inside query.
-
Add “lazy read” support for Parquet and NDJSON from HTTP(s).
-
Expose more options for
Explorer.Series.cut/3andExplorer.Series.qcut/3.
These options were available in Polars, but not in our APIs.
Fixed
-
Fix creation of series where a
nilvalue inside a list * for a{:list, any()}dtype -
could result in an incompatible dtype. This fix will prevent panics for list of lists with
nilentries. -
Fix
Explorer.DataFrame.dump_ndjson/2when date time is in use. -
Fix
Explorer.Series.product/1for lazy series. -
Accept
%FSS.HTTP.Entry{}structs in functions likeExplorer.DataFrame.from_parquet/2. -
Fix encode of binaries to terms from series of the
{:struct, any()}dtype.
In case the inner fields of the struct had any binary (:binarydtype), it was
causing a panic.
Changed
- Change the defaults of the functions
Explorer.Series.cut/3andExplorer.Series.qcut/3
to not have “break points” column in the resultant dataframe.
So the:include_breaksis nowfalseby default.
Contributors
- @audacioustux
- @billylanchantin
- @ceyhunkerti
- @mhanberg
- @mooreryan
- @philss
- @preciz
New Contributors
- @audacioustux made their first contribution in fix typo cuontry ~> country by audacioustux · Pull Request #979 · elixir-explorer/explorer · GitHub
- @ceyhunkerti made their first contribution in LazyFrame from http endpoint by ceyhunkerti · Pull Request #993 · elixir-explorer/explorer · GitHub
- @mooreryan made their first contribution in Fix return type in `DataFrame.dtypes/1` typespec (#1002) by mooreryan · Pull Request #1003 · elixir-explorer/explorer · GitHub
- @preciz made their first contribution in Fix typos by preciz · Pull Request #984 · elixir-explorer/explorer · GitHub
Changelogs
- Full changelog: Comparing v0.9.2...v0.10.0 · elixir-explorer/explorer · GitHub
- Official changelog: Changelog — Explorer v0.11.1






















