polars-df 0.7.0-arm64-darwin → 0.9.0-arm64-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: 82ec23b2cdb56ca660aa395084dbd5609fb92368099a8035fea6f2c9cd810c8d
4
- data.tar.gz: df34ad6924841b84ba9b07d067d81b9af17af3fb5601fa18edcefe53c0b21e13
3
+ metadata.gz: b33d97ca77bb7c421fac863b6ea3f1535876fdbd2b1a2810c02cc4268351d821
4
+ data.tar.gz: 6497638f9eb4ac6072032a39166616dd91adb5e183306f8a3a0cde4b092c6eae
5
5
  SHA512:
6
- metadata.gz: 9a249f95d8eb74c9f33bbad9ef257f4c84f08dfc89951453c6d8e9abbf0364727a22626199a1621330896b969622ba6b4bfb840c56c5ac266133dcd96d28a36d
7
- data.tar.gz: 74471be48b0be8003e82b0aeb371b4869e08ccfe6f9912efd02b0c6b06c44d110df8902d35b905d73dffa32a2df867ea90655d1389f79d9ea5d44c6d80c71fac
6
+ metadata.gz: 615a352aea84d2dc51ab97ed65b08f081e2682f6306d248da845f330178662cd77d08f32bda7f932e052a06cd703fd0f33e06b49f3442ccfac16c8ea886de3ce
7
+ data.tar.gz: d6e942f44d8b78db5957b527c4acf1e303025bf0ad073673cc9dfc0c941bed356487ff428eec7676857cc20daed0fa0d5e952bef558fdb1c7729c8e6d0d13d5d
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