polars-df 0.13.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 +30 -0
  3. data/Cargo.lock +1368 -319
  4. data/LICENSE-THIRD-PARTY.txt +24801 -13447
  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 +285 -62
  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 +109 -8
  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 -12
  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 +470 -40
  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: 8600b8a245eff5ace773a3aa5ef25c676a8a35fd2dd80d9af8becc14b3c9ef23
4
- data.tar.gz: e6c09f53cdbc5545fccefac765b95d8865b4b0d07beee8f3a281f6d9ee11b93d
3
+ metadata.gz: 48e1c445c1b7acbb8fdd1a8dfc78fbbd501a04f2363109b6fa285e0d130e7530
4
+ data.tar.gz: d31d19708f0ac486b23becb92bcc3fcf1e0c142a89d9d110de4645a4b2315405
5
5
  SHA512:
6
- metadata.gz: '080cfe39170ff47f692b667e925ba9d0054fe2175ad30613d4727700983f561b890f05bee2f486b8130f4fd2ff1a0fef533bac2ca2153e1284ecdfc796687409'
7
- data.tar.gz: acac0b9118e81f0ca6a1d9045b8a9c81218c2fc45e22c4237a141aeed09e3bedc81c0a040b9bdd168751244030e0df3d52bd51d552e3c17e4cdd6c856ab241d1
6
+ metadata.gz: bef7729a4817d313046a6ce9e735d55a770491829d2a3336000e974959da55d67dfdffa42de2e05ec1a0eda329ce9e8759e19f42807a9d4f996ce75e73593246
7
+ data.tar.gz: bf30d63e9d0c210ba45c6c62663980819a51021c5012b5db8f1989d975572f30bfec7b0a0f0ee5e950509caa71d46ead6937e5dbf619aae1dcb477689499c1ec
data/CHANGELOG.md CHANGED
@@ -1,3 +1,33 @@
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
+
26
+ ## 0.14.0 (2024-09-17)
27
+
28
+ - Updated Polars to 0.43.1
29
+ - Fixed `frac` option for `sample` method
30
+
1
31
  ## 0.13.0 (2024-09-04)
2
32
 
3
33
  - Updated Polars to 0.42.0