polars-df 0.7.0-x86_64-darwin → 0.9.0-x86_64-darwin

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 +4014 -3495
  6. data/LICENSE.txt +1 -1
  7. data/README.md +2 -2
  8. data/lib/polars/3.1/polars.bundle +0 -0
  9. data/lib/polars/3.2/polars.bundle +0 -0
  10. data/lib/polars/{3.0 → 3.3}/polars.bundle +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: ec87a192d93f797cdf4e80bf5d4895c8b71c1c385195ca1f5c574591ccf8bf73
4
- data.tar.gz: 755d18ba66e1679e38b37392ebb1858c9173536f93e2290a1f339d109b4fb806
3
+ metadata.gz: 389ff36d521b263591bef585fee7250e7bf39ea2aa64cb398396f500e30a4f87
4
+ data.tar.gz: fd6087243d02b1fd8782d1555843179d759ee460f93ec1a4fe75b9e52412ecea
5
5
  SHA512:
6
- metadata.gz: b0a7e2432f9962d221498ae9aea4ba7eb4f0178556727bdebf3a47a07f7a6c1c8fc7b625da718c12ba291b2b07d44cd1a0a01d7c20ad9f91eb091951f966349e
7
- data.tar.gz: 5ef2bdce537c8a34ecb72cdcc253990e86034032c40aeb97c7dee249cbe1aa31727b093108076d59b87090a6b6055eec5d12cac0605ac7e28258fca5aa857651
6
+ metadata.gz: 68c2a63442c4c3a2bcd5de0dc643f59b9af76375e6c62728cc3b62b7bbbcabde4e5af09dff2006170b37682274ad7f2caf8deca68e3f406daf80830ae19727f5
7
+ data.tar.gz: b15397def848d30aa26187fd689368c03d12474e9d32ceca85a629d24ac6180291a18df99da6bcfe048732b07a46feaaee52734ac48d6a5b575af75b15c2e686
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