polars-df 0.14.0-x86_64-darwin → 0.15.0-x86_64-darwin

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/Cargo.lock +1296 -283
  4. data/LICENSE-THIRD-PARTY.txt +25280 -13415
  5. data/LICENSE.txt +1 -0
  6. data/README.md +1 -2
  7. data/lib/polars/3.1/polars.bundle +0 -0
  8. data/lib/polars/3.2/polars.bundle +0 -0
  9. data/lib/polars/3.3/polars.bundle +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 +275 -52
  15. data/lib/polars/data_type_group.rb +28 -0
  16. data/lib/polars/data_types.rb +2 -0
  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/as_datatype.rb +51 -2
  21. data/lib/polars/functions/col.rb +1 -1
  22. data/lib/polars/functions/eager.rb +1 -3
  23. data/lib/polars/functions/lazy.rb +88 -10
  24. data/lib/polars/functions/range/time_range.rb +21 -21
  25. data/lib/polars/io/csv.rb +14 -16
  26. data/lib/polars/io/database.rb +2 -2
  27. data/lib/polars/io/ipc.rb +14 -4
  28. data/lib/polars/io/ndjson.rb +10 -0
  29. data/lib/polars/io/parquet.rb +168 -111
  30. data/lib/polars/lazy_frame.rb +649 -15
  31. data/lib/polars/list_name_space.rb +169 -0
  32. data/lib/polars/selectors.rb +1144 -0
  33. data/lib/polars/series.rb +465 -35
  34. data/lib/polars/string_cache.rb +27 -1
  35. data/lib/polars/string_expr.rb +0 -1
  36. data/lib/polars/string_name_space.rb +73 -3
  37. data/lib/polars/struct_name_space.rb +31 -7
  38. data/lib/polars/utils/various.rb +5 -1
  39. data/lib/polars/utils.rb +45 -10
  40. data/lib/polars/version.rb +1 -1
  41. data/lib/polars.rb +2 -1
  42. metadata +4 -3
  43. data/lib/polars/functions.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a2649658a0411248bb3080e13717f66c2bc4c1e65c7923cb2a620ab5abc0555
4
- data.tar.gz: 432a5bc01f5f60f226bb13121b5b5c8b822d5e44b741d36ee57bda105e8b780f
3
+ metadata.gz: c50992e6bcb4131914172f35a0478504320734e4d61550a7f6502d282d918423
4
+ data.tar.gz: eaa9e740dd8aa941ccbba1e18fbb373a04c88f42aa64d898814e758753828ed4
5
5
  SHA512:
6
- metadata.gz: 86311c8c994bb6ed0008f39e593bebef2ee6e0929d7262e9a524747e7a086ee620af317b7602eb7b351dcf1eb59a7e7fff3b17983e613c22061b1962c6e8cd81
7
- data.tar.gz: 92ba5dd3d8d4525cc0859616d7162c7d6f41aa3bb2cd2f2565b50a23eff19ccf1fac532a69fcd7806c7431e659f774df44ea38c00828050d71d7813a4556519f
6
+ metadata.gz: 3a5840851e599960d289af15504542c2dab975adefa2995e283825f2037c750116f9721a63f54641b0293d0b96de3ec90375189822ff0ccc2b4b1e91904088d6
7
+ data.tar.gz: 196fbcca9d9e14fe9f0e34ba20811886bbe5dcc56d50313d03a86dc694e7a3c7a9f939f8dfcdb4c32f9aba677ed3b079dc3f291f49d7e54a56b7e84e10e0b315
data/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ ## 0.15.0 (2024-11-20)
2
+
3
+ - Updated Polars to 0.44.2
4
+ - I/O methods no longer require a `URI` object for remote files
5
+ - Added support for scanning files from cloud storage
6
+ - Added experimental support for Arrow C streams
7
+ - Added selectors
8
+ - Added `config`, `string_cache`, and `cs` methods to `Polars`
9
+ - Added `strict` option to `DataFrame` constructor
10
+ - Added `compat_level` option to `write_ipc` and `write_ipc_stream` methods
11
+ - Added `name` option to `write_avro` method
12
+ - Added support for array of name-type pairs to `schema` option
13
+ - Added `cast` method to `DataFrame` and `LazyFrame`
14
+ - Added `coalesce` option to `join` and `join_asof` methods
15
+ - Added `validate` option to `join` method
16
+ - Added `strict` option to `rename` method
17
+ - Changed `rechunk` option default from `true` to `false` for `scan_parquet` method
18
+ - Fixed `limit` method for `LazyFrame`
19
+ - Fixed `read_database` connection leasing for Active Record 7.2
20
+ - Removed `get_dummies` method from `Polars` (use `df.to_dummies` instead)
21
+ - Removed `to_list` method from `Polars` (use `col(name).list` instead)
22
+ - Removed `spearman_rank_corr` method from `Polars` (use `corr(method: "spearman")` instead)
23
+ - Removed `pearson_corr` method from `Polars` (use `corr(method: "pearson")` instead)
24
+ - Removed `inner_dtype` and `time_unit` methods from `Series`
25
+
1
26
  ## 0.14.0 (2024-09-17)
2
27
 
3
28
  - Updated Polars to 0.43.1