polars-df 0.14.0-x64-mingw-ucrt → 0.16.0-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/Cargo.lock +1523 -378
  4. data/LICENSE-THIRD-PARTY.txt +24369 -14580
  5. data/LICENSE.txt +1 -0
  6. data/README.md +38 -4
  7. data/lib/polars/3.2/polars.so +0 -0
  8. data/lib/polars/3.3/polars.so +0 -0
  9. data/lib/polars/{3.1 → 3.4}/polars.so +0 -0
  10. data/lib/polars/batched_csv_reader.rb +0 -2
  11. data/lib/polars/binary_expr.rb +133 -9
  12. data/lib/polars/binary_name_space.rb +101 -6
  13. data/lib/polars/config.rb +4 -0
  14. data/lib/polars/data_frame.rb +452 -101
  15. data/lib/polars/data_type_group.rb +28 -0
  16. data/lib/polars/data_types.rb +3 -1
  17. data/lib/polars/date_time_expr.rb +244 -0
  18. data/lib/polars/date_time_name_space.rb +87 -0
  19. data/lib/polars/expr.rb +103 -2
  20. data/lib/polars/functions/aggregation/horizontal.rb +10 -4
  21. data/lib/polars/functions/as_datatype.rb +51 -2
  22. data/lib/polars/functions/col.rb +1 -1
  23. data/lib/polars/functions/eager.rb +1 -3
  24. data/lib/polars/functions/lazy.rb +95 -13
  25. data/lib/polars/functions/range/time_range.rb +21 -21
  26. data/lib/polars/io/csv.rb +14 -16
  27. data/lib/polars/io/database.rb +2 -2
  28. data/lib/polars/io/delta.rb +126 -0
  29. data/lib/polars/io/ipc.rb +14 -4
  30. data/lib/polars/io/ndjson.rb +10 -0
  31. data/lib/polars/io/parquet.rb +168 -111
  32. data/lib/polars/lazy_frame.rb +684 -20
  33. data/lib/polars/list_name_space.rb +169 -0
  34. data/lib/polars/selectors.rb +1226 -0
  35. data/lib/polars/series.rb +465 -35
  36. data/lib/polars/string_cache.rb +27 -1
  37. data/lib/polars/string_expr.rb +0 -1
  38. data/lib/polars/string_name_space.rb +73 -3
  39. data/lib/polars/struct_name_space.rb +31 -7
  40. data/lib/polars/utils/various.rb +5 -1
  41. data/lib/polars/utils.rb +45 -10
  42. data/lib/polars/version.rb +1 -1
  43. data/lib/polars.rb +17 -1
  44. metadata +9 -8
  45. data/lib/polars/functions.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c84a9739f3ef2ddaddf29d06b13b659aab01e6fb9a7a052d61d77f0a2b7d0ffd
4
- data.tar.gz: 484ebf7200032c1b2115800049dd33e3f744af2b0c804cc16d2b4249f28dc80f
3
+ metadata.gz: 316b5fbefca19b4a2a9a2234daf837c164317949fa5a512116d2224f73285182
4
+ data.tar.gz: 510dd4787e92d5e8a8a829268f6d2a2d3c16fcf2470c248e8f45ff69d5b0ff15
5
5
  SHA512:
6
- metadata.gz: c6bff774f49f2e553279094f059ecd42218b7ada8b612da1c933ea55a8118955bdce562d15345d53725d7c54461c65c9d1acf78e7bfe15225829d662a3cd77ce
7
- data.tar.gz: 2605955cc9b599fe46bb6b1c5657a8bb22474f59cbe8b6b8d7143dd8992f9aae11c6df00be1a287d4d7bb4e73107c8562565072b4111cf43b0e91b7013da59fd
6
+ metadata.gz: 81a2f30841b247c06f487a3d90c2fbc67846e4b8b633ddbe92ce1cd6e8fa0eed417484af647c6d88d2e01c9b3af817e04a2a558a694eaabd997041003e74f1ec
7
+ data.tar.gz: 48c63e3d7389830db41b99dd959579ff33cb997da2980d535911fa2553aa81bae845e6e03f54b46d34834179f76f64e389847df9b521a99ffef22c87e0d90b24
data/CHANGELOG.md CHANGED
@@ -1,3 +1,38 @@
1
+ ## 0.16.0 (2024-12-29)
2
+
3
+ - Updated Polars to 0.45.1
4
+ - Added support for Ruby 3.4
5
+ - Added experimental support for Delta Lake
6
+ - Added `by_name` selector
7
+ - Added `thread_pool_size` method to `Polars`
8
+ - Removed `axis` option from `min`, `max`, `sum`, and `mean` methods (use `*_horizontal` instead)
9
+ - Dropped support for Ruby < 3.2
10
+
11
+ ## 0.15.0 (2024-11-20)
12
+
13
+ - Updated Polars to 0.44.2
14
+ - I/O methods no longer require a `URI` object for remote files
15
+ - Added support for scanning files from cloud storage
16
+ - Added experimental support for Arrow C streams
17
+ - Added selectors
18
+ - Added `config`, `string_cache`, and `cs` methods to `Polars`
19
+ - Added `strict` option to `DataFrame` constructor
20
+ - Added `compat_level` option to `write_ipc` and `write_ipc_stream` methods
21
+ - Added `name` option to `write_avro` method
22
+ - Added support for array of name-type pairs to `schema` option
23
+ - Added `cast` method to `DataFrame` and `LazyFrame`
24
+ - Added `coalesce` option to `join` and `join_asof` methods
25
+ - Added `validate` option to `join` method
26
+ - Added `strict` option to `rename` method
27
+ - Changed `rechunk` option default from `true` to `false` for `scan_parquet` method
28
+ - Fixed `limit` method for `LazyFrame`
29
+ - Fixed `read_database` connection leasing for Active Record 7.2
30
+ - Removed `get_dummies` method from `Polars` (use `df.to_dummies` instead)
31
+ - Removed `to_list` method from `Polars` (use `col(name).list` instead)
32
+ - Removed `spearman_rank_corr` method from `Polars` (use `corr(method: "spearman")` instead)
33
+ - Removed `pearson_corr` method from `Polars` (use `corr(method: "pearson")` instead)
34
+ - Removed `inner_dtype` and `time_unit` methods from `Series`
35
+
1
36
  ## 0.14.0 (2024-09-17)
2
37
 
3
38
  - Updated Polars to 0.43.1