polars-df 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +12 -0
  3. data/Cargo.lock +284 -216
  4. data/ext/polars/Cargo.toml +7 -4
  5. data/ext/polars/src/batched_csv.rs +2 -3
  6. data/ext/polars/src/conversion.rs +18 -17
  7. data/ext/polars/src/dataframe.rs +27 -63
  8. data/ext/polars/src/expr/categorical.rs +8 -1
  9. data/ext/polars/src/expr/general.rs +63 -4
  10. data/ext/polars/src/expr/rolling.rs +15 -10
  11. data/ext/polars/src/expr/string.rs +9 -9
  12. data/ext/polars/src/functions/range.rs +5 -10
  13. data/ext/polars/src/lazyframe.rs +28 -19
  14. data/ext/polars/src/lib.rs +20 -20
  15. data/ext/polars/src/map/dataframe.rs +1 -1
  16. data/ext/polars/src/map/mod.rs +2 -2
  17. data/ext/polars/src/map/series.rs +6 -6
  18. data/ext/polars/src/object.rs +0 -30
  19. data/ext/polars/src/on_startup.rs +32 -0
  20. data/ext/polars/src/series/aggregation.rs +3 -0
  21. data/ext/polars/src/series/construction.rs +1 -1
  22. data/ext/polars/src/series/export.rs +2 -2
  23. data/ext/polars/src/{series.rs → series/mod.rs} +21 -18
  24. data/ext/polars/src/series/{set_at_idx.rs → scatter.rs} +18 -18
  25. data/ext/polars/src/utils.rs +1 -1
  26. data/lib/polars/data_frame.rb +69 -65
  27. data/lib/polars/data_types.rb +4 -1
  28. data/lib/polars/date_time_expr.rb +10 -10
  29. data/lib/polars/date_time_name_space.rb +12 -12
  30. data/lib/polars/expr.rb +223 -18
  31. data/lib/polars/group_by.rb +1 -1
  32. data/lib/polars/io.rb +4 -4
  33. data/lib/polars/lazy_frame.rb +23 -23
  34. data/lib/polars/lazy_functions.rb +4 -20
  35. data/lib/polars/series.rb +289 -30
  36. data/lib/polars/sql_context.rb +1 -1
  37. data/lib/polars/struct_expr.rb +1 -1
  38. data/lib/polars/struct_name_space.rb +1 -1
  39. data/lib/polars/utils.rb +13 -13
  40. data/lib/polars/version.rb +1 -1
  41. metadata +7 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 242f2ba697a7d6ceb99c90d9252a5060bb7b86b1d43051d3e06d9ba85357f763
4
- data.tar.gz: a9ac6960779c7dc4d44799183d399a4576e312ba8834af9aa52c413ec7f3d9ae
3
+ metadata.gz: 70c1280abaff9436b8de84c5bccdfaaa9c0b628400199bbe9b1d1c4da588baa9
4
+ data.tar.gz: e82bca47bcc90132af8af50d24559577557f29f8de2e9e4395d2601fee06b958
5
5
  SHA512:
6
- metadata.gz: bdfd935b91045da2c3f36737f71bd115ebffb48be2a8662303bc15ab7aa64bed9c18b424ef9e1a2150aabc885f50537e0310788f0f07af73ae0d3db2b526e577
7
- data.tar.gz: abd6e924a48d5822a10084419ba95e3f48966b888432f712bb13166f99740e15c12991bf49cdcc26a8509d3316026873ec1ce067c5d1e58bbc1daab163d68f19
6
+ metadata.gz: 9298f27bf4c55e41e6d157bc200d127dd5773e58d0406c9f87f26ee0e646b924f44ad0dc5a00c4ddb31a00b98d50ff2eac7d2211af42a146a812e1323da7a4c5
7
+ data.tar.gz: 121b9417f56b973f4b8b222db4f45fb738d338329fa78aaf0886e750019b46f15b864824cc363ad04eff6f7ad8d72920913c471300d78b99e95333acfef35c5d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 0.8.0 (2023-01-10)
2
+
3
+ - Updated Polars to 0.36.2
4
+ - Added support for Ruby 3.3
5
+ - Added warning to `count` method for `Series` and `Expr` about excluding null values in 0.9.0
6
+ - Added `cut` and `qcut` methods to `Series` and `Expr`
7
+ - Added `rle` and `rle_id` methods to `Series` and `Expr`
8
+ - Added `bottom_k` method to `Series`
9
+ - Aliased `Utf8` data type to `String`
10
+ - Fixed error with `top_k` method
11
+ - Dropped support for Ruby < 3.1
12
+
1
13
  ## 0.7.0 (2023-11-17)
2
14
 
3
15
  - Updated Polars to 0.35.2