polars-df 0.14.0-x86_64-linux → 0.15.0-x86_64-linux

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 +24793 -13160
  5. data/LICENSE.txt +1 -0
  6. data/README.md +1 -2
  7. data/lib/polars/3.1/polars.so +0 -0
  8. data/lib/polars/3.2/polars.so +0 -0
  9. data/lib/polars/3.3/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 +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: b96de2311cd3d96fc3144e80b1532233f2996c8ee187920d1862ef3f203881fc
4
- data.tar.gz: 990c84bb97532a7a010bca7c8c203ce80164cb1c0512d26c04881f71e550ec80
3
+ metadata.gz: 48e1c445c1b7acbb8fdd1a8dfc78fbbd501a04f2363109b6fa285e0d130e7530
4
+ data.tar.gz: d31d19708f0ac486b23becb92bcc3fcf1e0c142a89d9d110de4645a4b2315405
5
5
  SHA512:
6
- metadata.gz: 484cb3c526b42651f42cae2b96c692fac9ad2ea6110b70d1e00a3242a30d56ff8563a359f467a65581a5d7ec87ff881eb86d79320ab116b7e0debc32acba5854
7
- data.tar.gz: 8a45093c8a8caced9bb66a3d97772d34d449f69c81619e2a274f1d0b4918f4d690124a5eae033ab392d21b34c96ad2cb3866bd3a6337ef5639092d26d5898a4a
6
+ metadata.gz: bef7729a4817d313046a6ce9e735d55a770491829d2a3336000e974959da55d67dfdffa42de2e05ec1a0eda329ce9e8759e19f42807a9d4f996ce75e73593246
7
+ data.tar.gz: bf30d63e9d0c210ba45c6c62663980819a51021c5012b5db8f1989d975572f30bfec7b0a0f0ee5e950509caa71d46ead6937e5dbf619aae1dcb477689499c1ec
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