polars-df 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/Cargo.lock +337 -381
  4. data/README.md +4 -3
  5. data/ext/polars/Cargo.toml +5 -4
  6. data/ext/polars/src/apply/mod.rs +7 -3
  7. data/ext/polars/src/conversion.rs +171 -63
  8. data/ext/polars/src/dataframe.rs +19 -23
  9. data/ext/polars/src/error.rs +8 -0
  10. data/ext/polars/src/expr/array.rs +15 -0
  11. data/ext/polars/src/expr/general.rs +39 -9
  12. data/ext/polars/src/expr/list.rs +27 -22
  13. data/ext/polars/src/expr/string.rs +10 -9
  14. data/ext/polars/src/expr.rs +1 -0
  15. data/ext/polars/src/functions/lazy.rs +61 -21
  16. data/ext/polars/src/lazyframe.rs +14 -2
  17. data/ext/polars/src/lib.rs +25 -20
  18. data/ext/polars/src/object.rs +1 -1
  19. data/ext/polars/src/rb_modules.rs +4 -0
  20. data/ext/polars/src/series/construction.rs +28 -2
  21. data/ext/polars/src/series.rs +57 -17
  22. data/lib/polars/array_expr.rb +84 -0
  23. data/lib/polars/array_name_space.rb +77 -0
  24. data/lib/polars/batched_csv_reader.rb +1 -1
  25. data/lib/polars/data_frame.rb +91 -49
  26. data/lib/polars/data_types.rb +163 -29
  27. data/lib/polars/date_time_name_space.rb +17 -3
  28. data/lib/polars/expr.rb +76 -69
  29. data/lib/polars/functions.rb +0 -1
  30. data/lib/polars/group_by.rb +1 -22
  31. data/lib/polars/lazy_frame.rb +82 -30
  32. data/lib/polars/lazy_functions.rb +67 -31
  33. data/lib/polars/list_expr.rb +28 -28
  34. data/lib/polars/list_name_space.rb +13 -13
  35. data/lib/polars/rolling_group_by.rb +4 -2
  36. data/lib/polars/series.rb +70 -16
  37. data/lib/polars/string_expr.rb +137 -11
  38. data/lib/polars/string_name_space.rb +137 -22
  39. data/lib/polars/utils.rb +107 -57
  40. data/lib/polars/version.rb +1 -1
  41. data/lib/polars.rb +3 -0
  42. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9f45c22a80cc4dc4a379d6d7576710012d746d1e8ccba6e5e853c40d6592401d
4
- data.tar.gz: 2e0d38022a7e71d6aafb8fbb6d6e268fc9f57f0529716cb8fcf53010b82e0506
3
+ metadata.gz: 3a804a25769eff253d2b28a66d63d5fce9e9ffae28b531c57cb17acf257c985b
4
+ data.tar.gz: cf9204050bf43b63c5989e374564b1f5eaeb607607305d8549938faad2f68461
5
5
  SHA512:
6
- metadata.gz: 0534eaefe52366096e756a042ba9cf5b9dbc4a91a20ddaef49ac9684f805ccb00358e6d3efeed30984bf2768b81d76a832f123056f0fd6c5dbd2dbcb1c2b0606
7
- data.tar.gz: 0ce5729b4bda6305cb5555ff55e485f7e9e92bd0a7fd46437c09db1e0593e28f2802e45d0d89c5a397bb38331a53320531f824c0946d02fffefff13a8d7cbd7e
6
+ metadata.gz: 3e1affded11c904eaa0d4781d545295824777dc2c334d9bcfeee9da67498e4e3c8aed5aefab7ff63c3c03f2f5fef7e5274658ce65f9d3171bee31e7903e58cab
7
+ data.tar.gz: 3e82dde7d3212539aa339dd874604422ad7e6fb87393541968795e52d9c256104239d66cdab29f39b5f8f37d2936101b193f65f864791e143796da78663a84d9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 0.6.0 (2023-07-23)
2
+
3
+ - Updated Polars to 0.31.1
4
+ - Added `Array` type
5
+ - Added support for creating series with `Datetime` type
6
+ - Added support for `Null` to `to_a` method
7
+ - Improved support for `Decimal` and `Time` types
8
+ - Changed `arr` to `list` for `Series` and `Expr`
9
+ - Changed series creation with `BigDecimal` objects to `Decimal` type
10
+ - Changed series creation with `ActiveSupport::TimeWithZone` objects to `Datetime` type
11
+ - Changed equality for data types
12
+ - Fixed error with `groupby_dynamic` method
13
+ - Removed `agg_list` method from `GroupBy`
14
+
1
15
  ## 0.5.0 (2023-05-15)
2
16
 
3
17
  - Updated Polars to 0.29.0