Added
-
Add
Explorer.Series.field/2
to extract a field from a struct series.
It returns a new series with the field's dtype. -
Add
Explorer.Series.json_decode/2
that can decode a string series containing valid JSON objects according todtype
. -
Add eager
count/1
and lazysize/1
toExplorer.Series
. -
Add support for maps as expressions inside
Explorer.Query
. They are "converted" to structs. -
Add
json_path_match/2
to extract a string series from a string containing valid JSON objects.
See the article JSONPath - XPath for JSON for details about JSON paths. -
Add
Explorer.Series.row_index/1
to retrieve the index of rows starting from 0. -
Add support for passing the
:on
column directly (instead of inside a list) inExplorer.DataFrame.join/3
.
Changed
-
Remove some deprecated functions from documentation.
-
Change internal representation of the
:struct
dtype to use list of tuples instead of a map to represent the dtypes of each field. This shouldn't break because we normalise maps to lists when a struct dtype is passed infrom_list/2
orcast/2
. -
Update Rustler minimum version to
~> 0.31
. Since Rustler is optional, this shouldn't affect most of the users.
Fixed
-
Fix float overflow error to avoid crashing the VM, and instead it returns an argument error.
-
Fix
Explorer.DataFrame.print/2
for when the DF contains structs.
Pull requests
- Fix typo by @ahamez in #836
- Fix for Float Overflow resulting in VM Crash by @lkarthee in #837
- add field/2 for extracting field from struct by @lkarthee in #839
- fix DF.print for :struct by @lkarthee in #840
- Add Struct json_decode/3 for decoding json from string by @lkarthee in #841
- Add eager
Series.count/1
and lazySeries.size/1
by @billylanchantin in #844 - remove deprecated funcs from docs by @lkarthee in #845
- Accommodate VSCode users with the rust-analyzer extension by @billylanchantin in #846
- Fix
from_list/2
of list of structs when first is empty by @philss in #849 - Change inner dtypes of structs to tuple lists by @philss in #851
- allow nils along with struct - from_list/2 by @lkarthee in #854
- add support for map as expression by @lkarthee in #855
- Inferred dtype property tests by @billylanchantin in #856
- Check duplicate keys dataframe rename column by @pcapel in #850
- add json_path_match/2 by @lkarthee in #859
- Update Rustler and use new float term type by @filmor in #860
- Series.row_index/1 by @iurimateus in #862
- Wrap join on with list by @pcapel in #866
- Support atom names in Series.field/2 by @philss in #868
- Release v0.8.1 by @philss in #869
New Contributors
- @ahamez made their first contribution in #836
- @pcapel made their first contribution in #850
- @filmor made their first contribution in #860
- @iurimateus made their first contribution in #862
Full Changelog: v0.8.0...v0.8.1
Official Changelog: https://hexdocs.pm/explorer/changelog.html
SHA256 of precompiled artifacts
ce4b06cf51f6213b4e1917e52f73c8a09ef57c5cf5e157409122cdd348d00ee3 explorer-v0.8.1-nif-2.15-x86_64-pc-windows-gnu--legacy_cpu.dll.tar.gz
b78fb84a8847b17dd857213c9aea69622dff0b6b00233f395e9aaf2e3ee9a923 explorer-v0.8.1-nif-2.15-x86_64-pc-windows-gnu.dll.tar.gz
481204194b180b5dd4207cc00909f192a3e8f094f08b8be58bbc5e9e058150cd explorer-v0.8.1-nif-2.15-x86_64-pc-windows-msvc--legacy_cpu.dll.tar.gz
f1a77c0f378582e300f17a85fe391eea6bdd673839fdd52d9bc5988906ba6171 explorer-v0.8.1-nif-2.15-x86_64-pc-windows-msvc.dll.tar.gz
86aec9dd29572a61cd064108b02360161bff3e93e109ec0eb6c3e516cd08a6b4 libexplorer-v0.8.1-nif-2.15-aarch64-apple-darwin.so.tar.gz
a10f4ea3c7c1135b15e4a15186f926eed9c18376d4168442156e7ab9d9678408 libexplorer-v0.8.1-nif-2.15-aarch64-unknown-linux-gnu.so.tar.gz
ac338d49cc96bdd8646c2e98e4eba877a352d02f84b956055d814dc66b884e1f libexplorer-v0.8.1-nif-2.15-aarch64-unknown-linux-musl.so.tar.gz
ffc4d30c9c6802e5be5429b687f599fa4ca7875178468e880a5a6b2bc7f83663 libexplorer-v0.8.1-nif-2.15-x86_64-apple-darwin.so.tar.gz
e7bd3c239fd11db43f5fa822a5d25ce3c1a4569e33b155cdf341dfc20e5488c1 libexplorer-v0.8.1-nif-2.15-x86_64-unknown-freebsd--legacy_cpu.so.tar.gz
dba1128914e97a0edca3d0618ef6617a3eed284fbe6ee9d052b95c674e6eac14 libexplorer-v0.8.1-nif-2.15-x86_64-unknown-freebsd.so.tar.gz
90b8960ce6d57b48002a1ddffaab950a746de24f7c45eab7c89d65a075edeb9d libexplorer-v0.8.1-nif-2.15-x86_64-unknown-linux-gnu--legacy_cpu.so.tar.gz
9480ab502d28b7540cf598115c6aadc6a2d1c61eaaa82ffa60fc2e530b0f1e91 libexplorer-v0.8.1-nif-2.15-x86_64-unknown-linux-gnu.so.tar.gz
c5ffa7c27f6dc44ec31be9eed3d09ff1f3fa9ce4727342af8607160b48d6b686 libexplorer-v0.8.1-nif-2.15-x86_64-unknown-linux-musl.so.tar.gz