polars-df 0.7.0-aarch64-linux → 0.9.0-aarch64-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: ef3ed60410fb05f7568a182f8ea78e9bc9ab8a9f35de1cbed49668630ed32379
4
- data.tar.gz: 1b5a804fa2d09728154bfdbb70b7531e447af6be1bbb2309e319c6cdb108ed23
3
+ metadata.gz: 6d0eb17acfbab24c73dc7d15417f73cfab8747adf10e8d1b53dac2a0be30eb9a
4
+ data.tar.gz: b2e1da1d29a6ab383a8217c24ed7c74813fec165c7248dd16aae4042df9f60dc
5
5
  SHA512:
6
- metadata.gz: 00fd5d537ec9e439c3a0855bbcd83279b001d482ce9a726f695a9894694c128e0326787f63c6aca37eabc52aad051b80969bbb07717df26399d57e039be63c03
7
- data.tar.gz: 27018b0e20bdc71b38051ecb158171b6d3e2e1f2926077b1f6dc0b69a0ca22ff7864731701e3e93a59083f579e67623da49a89d247e52cade9e1cfbabd556e1e
6
+ metadata.gz: 6a5ddbaf07ab1f813847907408060d3e173b91ab35e81e5a1bf6616c0941fec9133bd9b803e376457f72ae97dd74f23915ac3b2d18fb87d2f1d6a02220be0d7b
7
+ data.tar.gz: 98934028609a84f3e5f40d3c7ea4e0e5b21869dd56f8398a593f43ae27eb3d3230fc6689f0a4b445aa585ee06227e5fd7ab96c212207267ca777dbac684d2613
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