polars-df 0.25.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +27 -1
- data/Cargo.lock +268 -95
- data/LICENSE.txt +1 -1
- data/README.md +1 -3
- data/ext/polars/Cargo.toml +18 -18
- data/ext/polars/src/catalog/unity.rs +15 -20
- data/ext/polars/src/conversion/any_value.rs +25 -24
- data/ext/polars/src/conversion/chunked_array.rs +58 -56
- data/ext/polars/src/conversion/datetime.rs +58 -7
- data/ext/polars/src/conversion/mod.rs +155 -141
- data/ext/polars/src/dataframe/export.rs +15 -12
- data/ext/polars/src/dataframe/general.rs +5 -4
- data/ext/polars/src/dataframe/map.rs +6 -4
- data/ext/polars/src/error.rs +1 -1
- data/ext/polars/src/expr/array.rs +0 -24
- data/ext/polars/src/expr/datatype.rs +3 -2
- data/ext/polars/src/expr/datetime.rs +4 -4
- data/ext/polars/src/expr/general.rs +27 -15
- data/ext/polars/src/expr/list.rs +0 -26
- data/ext/polars/src/functions/business.rs +2 -2
- data/ext/polars/src/functions/io.rs +4 -3
- data/ext/polars/src/functions/lazy.rs +58 -46
- data/ext/polars/src/functions/meta.rs +6 -5
- data/ext/polars/src/functions/mod.rs +0 -1
- data/ext/polars/src/functions/utils.rs +4 -2
- data/ext/polars/src/interop/arrow/mod.rs +4 -2
- data/ext/polars/src/interop/numo/to_numo_series.rs +26 -25
- data/ext/polars/src/io/scan_options.rs +6 -3
- data/ext/polars/src/io/sink_options.rs +2 -0
- data/ext/polars/src/lazyframe/general.rs +28 -13
- data/ext/polars/src/lazyframe/optflags.rs +2 -1
- data/ext/polars/src/lib.rs +14 -33
- data/ext/polars/src/map/lazy.rs +5 -2
- data/ext/polars/src/map/series.rs +19 -18
- data/ext/polars/src/on_startup.rs +16 -7
- data/ext/polars/src/ruby/numo.rs +3 -4
- data/ext/polars/src/ruby/rb_modules.rs +2 -4
- data/ext/polars/src/ruby/ruby_udf.rs +7 -9
- data/ext/polars/src/ruby/utils.rs +12 -1
- data/ext/polars/src/series/aggregation.rs +13 -1
- data/ext/polars/src/series/export.rs +33 -38
- data/ext/polars/src/series/general.rs +4 -3
- data/ext/polars/src/series/map.rs +3 -2
- data/ext/polars/src/series/scatter.rs +4 -4
- data/ext/polars/src/utils.rs +31 -7
- data/lib/polars/array_expr.rb +23 -7
- data/lib/polars/array_name_space.rb +16 -2
- data/lib/polars/binary_name_space.rb +32 -0
- data/lib/polars/data_frame.rb +73 -10
- data/lib/polars/date_time_expr.rb +91 -3
- data/lib/polars/date_time_name_space.rb +7 -1
- data/lib/polars/expr.rb +122 -44
- data/lib/polars/functions/business.rb +2 -2
- data/lib/polars/functions/eager.rb +80 -7
- data/lib/polars/functions/lazy.rb +5 -2
- data/lib/polars/io/csv.rb +27 -5
- data/lib/polars/io/ipc.rb +1 -1
- data/lib/polars/io/lines.rb +4 -4
- data/lib/polars/io/sink_options.rb +4 -2
- data/lib/polars/lazy_frame.rb +97 -14
- data/lib/polars/list_expr.rb +21 -7
- data/lib/polars/list_name_space.rb +16 -2
- data/lib/polars/query_opt_flags.rb +22 -5
- data/lib/polars/selectors.rb +1 -1
- data/lib/polars/series.rb +88 -19
- data/lib/polars/sql_context.rb +2 -2
- data/lib/polars/string_cache.rb +19 -72
- data/lib/polars/string_expr.rb +1 -7
- data/lib/polars/string_name_space.rb +1 -7
- data/lib/polars/utils/construction/series.rb +8 -3
- data/lib/polars/utils/convert.rb +16 -6
- data/lib/polars/utils/parse.rb +7 -0
- data/lib/polars/utils/reduce_balanced.rb +43 -0
- data/lib/polars/utils/various.rb +5 -0
- data/lib/polars/version.rb +1 -1
- data/lib/polars.rb +1 -1
- metadata +3 -17
- data/ext/polars/src/functions/string_cache.rs +0 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2166cba9f090e8a98fdd28f09ef84bda7130502339522fb724f994581191ffa0
|
|
4
|
+
data.tar.gz: bfdd2939e545302b8a050c706112ae59a297054d048daa4551fd1227589eeba6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 189165a0d01be7174c29ebe5678c9e7bc0cd88e6f0bada0e424967b17b3e56f649645a4bd9de7b409f270390f82be94faf7d12a3bd3ca39de2cc04705382eb78
|
|
7
|
+
data.tar.gz: 1daf4e9a15adb6f09497ac729ef5ff4fb33de85df5b65d79bfca5de976c9f09d371e7564c00814c9cf20dc606b413fb708de3ea1aeb44c337e1aacaebd09a457
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,35 @@
|
|
|
1
|
+
## 0.26.0 (2026-06-04)
|
|
2
|
+
|
|
3
|
+
- Updated Polars to 0.54.4
|
|
4
|
+
- Added `truncate` method to `Series` and `Expr`
|
|
5
|
+
- Added `gather` method to `DataFrame` and `LazyFrame`
|
|
6
|
+
- Added `is_empty` method to `Expr`
|
|
7
|
+
- Added `get` method to `BinaryNameSpace`
|
|
8
|
+
- Added `maintain_order` option to `implode` and `merge_sorted` methods
|
|
9
|
+
- Added `holidays` option to `add_business_days` and `is_business_day` methods
|
|
10
|
+
- Added `column_naming` option to `pivot` method
|
|
11
|
+
- Added `dtype` option to `reinterpret` method
|
|
12
|
+
- Added `nulls_last` option to `set_sorted` method
|
|
13
|
+
- Added support for non-UTC time zones when converting datetime values to Ruby
|
|
14
|
+
- Made `bigdecimal` optional
|
|
15
|
+
- Fixed `unpivot` method when `on` option is `nil`
|
|
16
|
+
|
|
17
|
+
Changed defaults
|
|
18
|
+
|
|
19
|
+
- Changed default `name` for `read_lines` and `scan_lines` methods from `lines` to `line`
|
|
20
|
+
- Changed default `how` for `align_frames` method from `left` to `full`
|
|
21
|
+
- Changed default `min_samples` for `rolling_sum_by` method from `1` to `0`
|
|
22
|
+
- Changed default `with_replacement` for `sample` method from `true` to `false` for `Expr`
|
|
23
|
+
- Changed default `base` for `entropy` method from `2` to `Math::E` for `Expr`
|
|
24
|
+
- Changed default `normalize` for `entropy` method from `false` to `true` for `Series`
|
|
25
|
+
- Changed default `delimiter` for `join` method from `-` to empty string for `StringExpr` and `StringNameSpace`
|
|
26
|
+
|
|
1
27
|
## 0.25.1 (2026-03-23)
|
|
2
28
|
|
|
3
29
|
- Added `explain_all` method to `Polars`
|
|
4
30
|
- Fixed `storage_options` option for `scan_parquet` and `scan_ipc` methods
|
|
5
31
|
- Fixed `Struct` construction with `nil` values
|
|
6
|
-
- Fixed `read_database` for JSON columns
|
|
32
|
+
- Fixed `read_database` method for JSON columns
|
|
7
33
|
|
|
8
34
|
## 0.25.0 (2026-02-18)
|
|
9
35
|
|