polars-df 0.7.0-x86_64-linux → 0.9.0-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +41 -0
  3. data/Cargo.lock +353 -237
  4. data/Cargo.toml +0 -3
  5. data/LICENSE-THIRD-PARTY.txt +1978 -1459
  6. data/LICENSE.txt +1 -1
  7. data/README.md +2 -2
  8. data/lib/polars/3.1/polars.so +0 -0
  9. data/lib/polars/3.2/polars.so +0 -0
  10. data/lib/polars/{3.0 → 3.3}/polars.so +0 -0
  11. data/lib/polars/array_expr.rb +449 -0
  12. data/lib/polars/array_name_space.rb +346 -0
  13. data/lib/polars/cat_expr.rb +24 -0
  14. data/lib/polars/cat_name_space.rb +75 -0
  15. data/lib/polars/config.rb +2 -2
  16. data/lib/polars/data_frame.rb +248 -108
  17. data/lib/polars/data_types.rb +195 -29
  18. data/lib/polars/date_time_expr.rb +41 -24
  19. data/lib/polars/date_time_name_space.rb +12 -12
  20. data/lib/polars/exceptions.rb +12 -1
  21. data/lib/polars/expr.rb +1080 -195
  22. data/lib/polars/functions/aggregation/horizontal.rb +246 -0
  23. data/lib/polars/functions/aggregation/vertical.rb +282 -0
  24. data/lib/polars/functions/as_datatype.rb +248 -0
  25. data/lib/polars/functions/col.rb +47 -0
  26. data/lib/polars/functions/eager.rb +182 -0
  27. data/lib/polars/functions/lazy.rb +1280 -0
  28. data/lib/polars/functions/len.rb +49 -0
  29. data/lib/polars/functions/lit.rb +35 -0
  30. data/lib/polars/functions/random.rb +16 -0
  31. data/lib/polars/functions/range/date_range.rb +103 -0
  32. data/lib/polars/functions/range/int_range.rb +51 -0
  33. data/lib/polars/functions/repeat.rb +144 -0
  34. data/lib/polars/functions/whenthen.rb +27 -0
  35. data/lib/polars/functions.rb +29 -416
  36. data/lib/polars/group_by.rb +3 -3
  37. data/lib/polars/io.rb +21 -28
  38. data/lib/polars/lazy_frame.rb +390 -76
  39. data/lib/polars/list_expr.rb +152 -6
  40. data/lib/polars/list_name_space.rb +102 -0
  41. data/lib/polars/meta_expr.rb +175 -7
  42. data/lib/polars/series.rb +557 -59
  43. data/lib/polars/sql_context.rb +1 -1
  44. data/lib/polars/string_cache.rb +75 -0
  45. data/lib/polars/string_expr.rb +412 -96
  46. data/lib/polars/string_name_space.rb +4 -4
  47. data/lib/polars/struct_expr.rb +1 -1
  48. data/lib/polars/struct_name_space.rb +1 -1
  49. data/lib/polars/testing.rb +507 -0
  50. data/lib/polars/utils.rb +64 -20
  51. data/lib/polars/version.rb +1 -1
  52. data/lib/polars.rb +15 -2
  53. metadata +36 -7
  54. data/lib/polars/lazy_functions.rb +0 -1197
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fd3e81a73e29bb4741980a25bbec22ebb71e8a9a16d7bf36f50ec862b0c22f5
4
- data.tar.gz: 234088176119b64947bcb40949e61cc94ea372f3f8ff5b6a1e678ca33e4a686a
3
+ metadata.gz: 9fc36b7a7945b1b6af6d205b717f74a4840d3e330a091407fd080e7f872a882f
4
+ data.tar.gz: 46662c51a7bb515d291cda1b43ad60d7940bffb0d69020b3f019491218847001
5
5
  SHA512:
6
- metadata.gz: 1e328811187013a9a8acc4df98beb516bdea1434d28e56d3c2a1e78142c7cece74cc6cc19e9bc7ae79270278c5ab7b252a27c772fe6c6640fe6f10e28e7f58b5
7
- data.tar.gz: 38d9233f6b966128a148da940150f49ee58c43a300951a3ad6a00f155d59e706c2f32708300587ce6b14e263164ba9c7648e4f7217bdaeb5b3eaa3d3c74f6b5f
6
+ metadata.gz: 0560b68001d67303e098f398694ca40430f31469b3524edcf705ce6c656cb6bc5b6f44e7296f587474381567b9704846ea00370c104cdd359dbbeeeb71b0a2d1
7
+ data.tar.gz: 9d5bfb0bb8dd9989a9373a59c8588545f3a96d947f602ccaaf957f71b5f951781dee95349891301e97c58f1f7973f4ff84699c4d7635050691f64052680b2fea
data/CHANGELOG.md CHANGED
@@ -1,3 +1,44 @@
1
+ ## 0.9.0 (2024-03-03)
2
+
3
+ See the [upgrade guide](https://docs.pola.rs/releases/upgrade/0.20/)
4
+
5
+ - Updated Polars to 0.38.1
6
+ - Changed `count` method to exclude null values
7
+ - Changed `dtype` and `schema` methods to always return instances of data types
8
+ - Added `Enum` type
9
+ - Added `Testing` module
10
+ - Added `arctan2`, `arctan2d`, `set_random_seed`, and `sql_expr` methods to `Polars`
11
+ - Added `enable_string_cache`, `disable_string_cache`, and `using_string_cache` to `Polars`
12
+ - Added methods for horizontal aggregations to `Polars`
13
+ - Added `sink_ipc`, `sink_csv`, and `sink_ndjson` methods to `LazyFrame`
14
+ - Added `replace` method to `Series` and `Expr`
15
+ - Added `eq`, `eq_missing`, `ne`, and `ne_missing` methods to `Series` and `Expr`
16
+ - Added `ge`, `gt`, `le`, and `lt` methods to `Series` and `Expr`
17
+ - Added `merge_sorted` method to `DataFrame` and `LazyFrame`
18
+ - Added more methods to `ArrayExpr` and `ArrayNameSpace`
19
+ - Added more methods to `CatExpr` and `CatNameSpace`
20
+ - Added more methods to `ListExpr` and `ListNameSpace`
21
+ - Added more methods to `MetaExpr`
22
+ - Added more methods to `StringExpr`
23
+ - Added `schema_overrides` option to `read_database` method
24
+ - Added `join_nulls` option to `join` method
25
+ - Added `ignore_nulls` option to `any` and `all` methods
26
+ - Aliased `apply` to `map_elements` for `Series`
27
+ - Aliased `cleared` to `clear` for `DataFrame` and `LazyFrame`
28
+ - Fixed error with `BigDecimal` objects
29
+
30
+ ## 0.8.0 (2024-01-10)
31
+
32
+ - Updated Polars to 0.36.2
33
+ - Added support for Ruby 3.3
34
+ - Added warning to `count` method for `Series` and `Expr` about excluding null values in 0.9.0
35
+ - Added `cut` and `qcut` methods to `Series` and `Expr`
36
+ - Added `rle` and `rle_id` methods to `Series` and `Expr`
37
+ - Added `bottom_k` method to `Series`
38
+ - Aliased `Utf8` data type to `String`
39
+ - Fixed error with `top_k` method
40
+ - Dropped support for Ruby < 3.1
41
+
1
42
  ## 0.7.0 (2023-11-17)
2
43
 
3
44
  - Updated Polars to 0.35.2