polars-df 0.10.0-x86_64-linux → 0.12.0-x86_64-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +27 -0
  3. data/Cargo.lock +392 -351
  4. data/LICENSE-THIRD-PARTY.txt +1125 -865
  5. data/README.md +6 -6
  6. data/lib/polars/3.1/polars.so +0 -0
  7. data/lib/polars/3.2/polars.so +0 -0
  8. data/lib/polars/3.3/polars.so +0 -0
  9. data/lib/polars/array_expr.rb +4 -4
  10. data/lib/polars/batched_csv_reader.rb +11 -5
  11. data/lib/polars/cat_expr.rb +0 -36
  12. data/lib/polars/cat_name_space.rb +0 -37
  13. data/lib/polars/convert.rb +6 -1
  14. data/lib/polars/data_frame.rb +176 -403
  15. data/lib/polars/data_types.rb +1 -1
  16. data/lib/polars/date_time_expr.rb +525 -572
  17. data/lib/polars/date_time_name_space.rb +263 -460
  18. data/lib/polars/dynamic_group_by.rb +5 -5
  19. data/lib/polars/exceptions.rb +7 -0
  20. data/lib/polars/expr.rb +1394 -243
  21. data/lib/polars/expr_dispatch.rb +1 -1
  22. data/lib/polars/functions/aggregation/horizontal.rb +8 -8
  23. data/lib/polars/functions/as_datatype.rb +63 -40
  24. data/lib/polars/functions/lazy.rb +63 -14
  25. data/lib/polars/functions/lit.rb +1 -1
  26. data/lib/polars/functions/range/date_range.rb +90 -57
  27. data/lib/polars/functions/range/datetime_range.rb +149 -0
  28. data/lib/polars/functions/range/int_range.rb +2 -2
  29. data/lib/polars/functions/range/time_range.rb +141 -0
  30. data/lib/polars/functions/repeat.rb +1 -1
  31. data/lib/polars/functions/whenthen.rb +1 -1
  32. data/lib/polars/group_by.rb +88 -23
  33. data/lib/polars/io/avro.rb +24 -0
  34. data/lib/polars/{io.rb → io/csv.rb} +299 -493
  35. data/lib/polars/io/database.rb +73 -0
  36. data/lib/polars/io/ipc.rb +247 -0
  37. data/lib/polars/io/json.rb +29 -0
  38. data/lib/polars/io/ndjson.rb +80 -0
  39. data/lib/polars/io/parquet.rb +227 -0
  40. data/lib/polars/lazy_frame.rb +143 -272
  41. data/lib/polars/lazy_group_by.rb +100 -3
  42. data/lib/polars/list_expr.rb +11 -11
  43. data/lib/polars/list_name_space.rb +5 -1
  44. data/lib/polars/rolling_group_by.rb +7 -9
  45. data/lib/polars/series.rb +103 -187
  46. data/lib/polars/string_expr.rb +78 -102
  47. data/lib/polars/string_name_space.rb +5 -4
  48. data/lib/polars/testing.rb +2 -2
  49. data/lib/polars/utils/constants.rb +9 -0
  50. data/lib/polars/utils/convert.rb +97 -0
  51. data/lib/polars/utils/parse.rb +89 -0
  52. data/lib/polars/utils/various.rb +76 -0
  53. data/lib/polars/utils/wrap.rb +19 -0
  54. data/lib/polars/utils.rb +8 -300
  55. data/lib/polars/version.rb +1 -1
  56. data/lib/polars/whenthen.rb +6 -6
  57. data/lib/polars.rb +20 -1
  58. metadata +17 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfd56158499f0fe00af7b7bf7c35ece6c89f5c4a8c0fd4ff0a9d12dc271cda9e
4
- data.tar.gz: de8aa7834f8d10952f0ecfd9722942b46c7fad85bfff77ca27fd2f59c25464dc
3
+ metadata.gz: 5da3b2b1ee242a07e6644db7d37f28063744313a80adcb74f186f5a94fba2920
4
+ data.tar.gz: e56e75ee88fb4871a8df84ea6c8e2ce97a910a0fb106e7ce77d5be16f2a0579f
5
5
  SHA512:
6
- metadata.gz: 479abaebf07db00123d6575ec1ea02da7547d8ea602ad76e9885b288645039dc8765a02c480f90744b3b64a51938c84c18448c3b7ae6345f4db50aefff96655e
7
- data.tar.gz: 2630b98460c21c403170b96743779c7e622f7e8cb72b56455e4c803872ed68430f4678aabb1f9082301bab059851ebe8118ae58f9aba925229bc46c165e7ca2c
6
+ metadata.gz: a8454ae1a3fd8c550da172a4a76acc3655f18e8c4860a97909fa0a2f32bf25577f8feb3f7726f8e2c260e5fe6f09df9cb3b2415552c7217a37a97b009f7d85d4
7
+ data.tar.gz: 952611055812a150cc160e20d5bf5696fc07b6a4c63b96cdfc0819fa32dfae39d889a42ae6b127652240bfd8a57ecf9a1985e2f2fbec4110b37ab6fab2003d14
data/CHANGELOG.md CHANGED
@@ -1,3 +1,30 @@
1
+ ## 0.12.0 (2024-07-11)
2
+
3
+ - Updated Polars to 0.41.3
4
+ - Added `nth` method to `Polars`
5
+ - Added `get` method to `Expr`
6
+ - Added `check_names` option to `equals` method
7
+ - Improved `struct` method
8
+ - Aliased `melt` to `unpivot` for `DataFrame` and `LazyFrame`
9
+ - Changed signature of `pivot` and `melt` methods
10
+ - Changed signature of `date_range` and `date_ranges` methods
11
+ - Changed `set_sorted` method to only accept a single column
12
+ - Removed `use_earliest` option from `replace_time_zone` and `to_datetime` methods (use `ambiguous` instead)
13
+ - Removed `by` and `closed` options from `rolling_*` methods (use `rolling_*_by` instead)
14
+ - Removed `explode` method from `StringExpr` (use `split("").explode` instead)
15
+ - Removed `set_ordering` method from `CatExpr`
16
+
17
+ ## 0.11.0 (2024-06-02)
18
+
19
+ - Updated Polars to 0.40.0
20
+ - Added `date_ranges` method to `Polars`
21
+ - Added `read_ipc_stream` method to `Polars`
22
+ - Added `write_ipc_stream` to `DataFrame`
23
+ - Added `flags` method to `DataFrame`
24
+ - Added support for keyword arguments to `agg` methods
25
+ - Aliased `apply` to `map_rows` for `DataFrame`
26
+ - Changed default `name` for `with_row_index` from `row_nr` to `index`
27
+
1
28
  ## 0.10.0 (2024-05-02)
2
29
 
3
30
  - Updated Polars to 0.39.2