polars-df 0.10.0-aarch64-linux → 0.11.0-aarch64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/Cargo.lock +90 -48
- data/LICENSE-THIRD-PARTY.txt +152 -79
- data/README.md +6 -6
- data/lib/polars/3.1/polars.so +0 -0
- data/lib/polars/3.2/polars.so +0 -0
- data/lib/polars/3.3/polars.so +0 -0
- data/lib/polars/batched_csv_reader.rb +9 -3
- data/lib/polars/convert.rb +6 -1
- data/lib/polars/data_frame.rb +83 -302
- data/lib/polars/date_time_expr.rb +1 -0
- data/lib/polars/date_time_name_space.rb +5 -1
- data/lib/polars/dynamic_group_by.rb +2 -2
- data/lib/polars/exceptions.rb +4 -0
- data/lib/polars/expr.rb +1134 -20
- data/lib/polars/functions/range/date_range.rb +92 -0
- data/lib/polars/functions/range/datetime_range.rb +149 -0
- data/lib/polars/functions/range/time_range.rb +141 -0
- data/lib/polars/group_by.rb +88 -23
- data/lib/polars/io/avro.rb +24 -0
- data/lib/polars/{io.rb → io/csv.rb} +296 -490
- data/lib/polars/io/database.rb +73 -0
- data/lib/polars/io/ipc.rb +247 -0
- data/lib/polars/io/json.rb +18 -0
- data/lib/polars/io/ndjson.rb +69 -0
- data/lib/polars/io/parquet.rb +226 -0
- data/lib/polars/lazy_frame.rb +23 -166
- data/lib/polars/lazy_group_by.rb +100 -3
- data/lib/polars/rolling_group_by.rb +2 -2
- data/lib/polars/series.rb +2 -2
- data/lib/polars/string_expr.rb +37 -36
- data/lib/polars/utils.rb +35 -1
- data/lib/polars/version.rb +1 -1
- data/lib/polars.rb +9 -1
- metadata +12 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fa7f9e3cdd3552fecfe773b7b3637b3243acb2cd4e83e68cecd602e41e579d2
|
4
|
+
data.tar.gz: 1fd724bd37f71764cc15e7d1b7092d424dd6ff9f6e952e692aced5ca9eccd7a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6baff46e0b07a661988850dc31826a50620ab48d69896a7dd8aee7376027e247a1e48fb49e892fd7611a7faae582408075b4be3f94ee8386f2fedb3b7fb48802
|
7
|
+
data.tar.gz: c7ada6506448bb5efa3672f8cbbb70ea2da6937c62e9113b40fe1854a6c192724e9f70cf7980378d23aa061c476ca5a518e1f2ca12c6522257cd9be13f55861d
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
## 0.11.0 (2024-06-02)
|
2
|
+
|
3
|
+
- Updated Polars to 0.40.0
|
4
|
+
- Added `date_ranges` method to `Polars`
|
5
|
+
- Added `read_ipc_stream` method to `Polars`
|
6
|
+
- Added `write_ipc_stream` to `DataFrame`
|
7
|
+
- Added `flags` method to `DataFrame`
|
8
|
+
- Added support for keyword arguments to `agg` methods
|
9
|
+
- Aliased `apply` to `map_rows` for `DataFrame`
|
10
|
+
- Changed default `name` for `with_row_index` from `row_nr` to `index`
|
11
|
+
|
1
12
|
## 0.10.0 (2024-05-02)
|
2
13
|
|
3
14
|
- Updated Polars to 0.39.2
|
data/Cargo.lock
CHANGED
@@ -181,9 +181,9 @@ dependencies = [
|
|
181
181
|
|
182
182
|
[[package]]
|
183
183
|
name = "base64"
|
184
|
-
version = "0.
|
184
|
+
version = "0.22.1"
|
185
185
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
186
|
-
checksum = "
|
186
|
+
checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
187
187
|
|
188
188
|
[[package]]
|
189
189
|
name = "bindgen"
|
@@ -222,9 +222,9 @@ dependencies = [
|
|
222
222
|
|
223
223
|
[[package]]
|
224
224
|
name = "brotli"
|
225
|
-
version = "
|
225
|
+
version = "5.0.0"
|
226
226
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
227
|
-
checksum = "
|
227
|
+
checksum = "19483b140a7ac7174d34b5a581b406c64f84da5409d3e09cf4fff604f9270e67"
|
228
228
|
dependencies = [
|
229
229
|
"alloc-no-stdlib",
|
230
230
|
"alloc-stdlib",
|
@@ -233,9 +233,9 @@ dependencies = [
|
|
233
233
|
|
234
234
|
[[package]]
|
235
235
|
name = "brotli-decompressor"
|
236
|
-
version = "
|
236
|
+
version = "4.0.0"
|
237
237
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
238
|
-
checksum = "
|
238
|
+
checksum = "e6221fe77a248b9117d431ad93761222e1cf8ff282d9d1d5d9f53d6299a1cf76"
|
239
239
|
dependencies = [
|
240
240
|
"alloc-no-stdlib",
|
241
241
|
"alloc-stdlib",
|
@@ -354,7 +354,7 @@ checksum = "7c64043d6c7b7a4c58e39e7efccfdea7b93d885a795d0c054a69dbbf4dd52686"
|
|
354
354
|
dependencies = [
|
355
355
|
"crossterm",
|
356
356
|
"strum",
|
357
|
-
"strum_macros",
|
357
|
+
"strum_macros 0.25.3",
|
358
358
|
"unicode-width",
|
359
359
|
]
|
360
360
|
|
@@ -469,9 +469,12 @@ checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d"
|
|
469
469
|
|
470
470
|
[[package]]
|
471
471
|
name = "either"
|
472
|
-
version = "1.
|
472
|
+
version = "1.12.0"
|
473
473
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
474
|
-
checksum = "
|
474
|
+
checksum = "3dca9240753cf90908d7e4aac30f630662b02aebaa1b58a3cadabdb23385b58b"
|
475
|
+
dependencies = [
|
476
|
+
"serde",
|
477
|
+
]
|
475
478
|
|
476
479
|
[[package]]
|
477
480
|
name = "enum_dispatch"
|
@@ -676,6 +679,7 @@ dependencies = [
|
|
676
679
|
"ahash",
|
677
680
|
"allocator-api2",
|
678
681
|
"rayon",
|
682
|
+
"serde",
|
679
683
|
]
|
680
684
|
|
681
685
|
[[package]]
|
@@ -966,9 +970,9 @@ dependencies = [
|
|
966
970
|
|
967
971
|
[[package]]
|
968
972
|
name = "magnus"
|
969
|
-
version = "0.6.
|
973
|
+
version = "0.6.4"
|
970
974
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
971
|
-
checksum = "
|
975
|
+
checksum = "b1597ef40aa8c36be098249e82c9a20cf7199278ac1c1a1a995eeead6a184479"
|
972
976
|
dependencies = [
|
973
977
|
"magnus-macros",
|
974
978
|
"rb-sys",
|
@@ -1089,9 +1093,9 @@ dependencies = [
|
|
1089
1093
|
|
1090
1094
|
[[package]]
|
1091
1095
|
name = "num-traits"
|
1092
|
-
version = "0.2.
|
1096
|
+
version = "0.2.19"
|
1093
1097
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1094
|
-
checksum = "
|
1098
|
+
checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
|
1095
1099
|
dependencies = [
|
1096
1100
|
"autocfg",
|
1097
1101
|
"libm",
|
@@ -1243,7 +1247,7 @@ dependencies = [
|
|
1243
1247
|
|
1244
1248
|
[[package]]
|
1245
1249
|
name = "polars"
|
1246
|
-
version = "0.
|
1250
|
+
version = "0.11.0"
|
1247
1251
|
dependencies = [
|
1248
1252
|
"ahash",
|
1249
1253
|
"chrono",
|
@@ -1251,7 +1255,7 @@ dependencies = [
|
|
1251
1255
|
"jemallocator",
|
1252
1256
|
"magnus",
|
1253
1257
|
"mimalloc",
|
1254
|
-
"polars 0.
|
1258
|
+
"polars 0.40.0",
|
1255
1259
|
"polars-core",
|
1256
1260
|
"polars-parquet",
|
1257
1261
|
"polars-utils",
|
@@ -1261,9 +1265,9 @@ dependencies = [
|
|
1261
1265
|
|
1262
1266
|
[[package]]
|
1263
1267
|
name = "polars"
|
1264
|
-
version = "0.
|
1268
|
+
version = "0.40.0"
|
1265
1269
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1266
|
-
checksum = "
|
1270
|
+
checksum = "e148396dca5496566880fa19374f3f789a29db94e3eb458afac1497b4bac5442"
|
1267
1271
|
dependencies = [
|
1268
1272
|
"getrandom",
|
1269
1273
|
"polars-arrow",
|
@@ -1282,9 +1286,9 @@ dependencies = [
|
|
1282
1286
|
|
1283
1287
|
[[package]]
|
1284
1288
|
name = "polars-arrow"
|
1285
|
-
version = "0.
|
1289
|
+
version = "0.40.0"
|
1286
1290
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1287
|
-
checksum = "
|
1291
|
+
checksum = "1cb5e11cd0752ae022fa6ca3afa50a14b0301b7ce53c0135828fbb0f4fa8303e"
|
1288
1292
|
dependencies = [
|
1289
1293
|
"ahash",
|
1290
1294
|
"atoi",
|
@@ -1330,9 +1334,9 @@ dependencies = [
|
|
1330
1334
|
|
1331
1335
|
[[package]]
|
1332
1336
|
name = "polars-compute"
|
1333
|
-
version = "0.
|
1337
|
+
version = "0.40.0"
|
1334
1338
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1335
|
-
checksum = "
|
1339
|
+
checksum = "89fc4578f826234cdecb782952aa9c479dc49373f81694a7b439c70b6f609ba0"
|
1336
1340
|
dependencies = [
|
1337
1341
|
"bytemuck",
|
1338
1342
|
"either",
|
@@ -1346,9 +1350,9 @@ dependencies = [
|
|
1346
1350
|
|
1347
1351
|
[[package]]
|
1348
1352
|
name = "polars-core"
|
1349
|
-
version = "0.
|
1353
|
+
version = "0.40.0"
|
1350
1354
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1351
|
-
checksum = "
|
1355
|
+
checksum = "e490c6bace1366a558feea33d1846f749a8ca90bd72a6748752bc65bb4710b2a"
|
1352
1356
|
dependencies = [
|
1353
1357
|
"ahash",
|
1354
1358
|
"bitflags 2.4.1",
|
@@ -1380,9 +1384,9 @@ dependencies = [
|
|
1380
1384
|
|
1381
1385
|
[[package]]
|
1382
1386
|
name = "polars-error"
|
1383
|
-
version = "0.
|
1387
|
+
version = "0.40.0"
|
1384
1388
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1385
|
-
checksum = "
|
1389
|
+
checksum = "08888f58e61599b00f5ea0c2ccdc796b54b9859559cc0d4582733509451fa01a"
|
1386
1390
|
dependencies = [
|
1387
1391
|
"avro-schema",
|
1388
1392
|
"polars-arrow-format",
|
@@ -1391,11 +1395,31 @@ dependencies = [
|
|
1391
1395
|
"thiserror",
|
1392
1396
|
]
|
1393
1397
|
|
1398
|
+
[[package]]
|
1399
|
+
name = "polars-expr"
|
1400
|
+
version = "0.40.0"
|
1401
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1402
|
+
checksum = "4173591920fe56ad55af025f92eb0d08421ca85705c326a640c43856094e3484"
|
1403
|
+
dependencies = [
|
1404
|
+
"ahash",
|
1405
|
+
"bitflags 2.4.1",
|
1406
|
+
"once_cell",
|
1407
|
+
"polars-arrow",
|
1408
|
+
"polars-core",
|
1409
|
+
"polars-io",
|
1410
|
+
"polars-ops",
|
1411
|
+
"polars-plan",
|
1412
|
+
"polars-time",
|
1413
|
+
"polars-utils",
|
1414
|
+
"rayon",
|
1415
|
+
"smartstring",
|
1416
|
+
]
|
1417
|
+
|
1394
1418
|
[[package]]
|
1395
1419
|
name = "polars-io"
|
1396
|
-
version = "0.
|
1420
|
+
version = "0.40.0"
|
1397
1421
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1398
|
-
checksum = "
|
1422
|
+
checksum = "5842896aea46d975b425d63f156f412aed3cfde4c257b64fb1f43ceea288074e"
|
1399
1423
|
dependencies = [
|
1400
1424
|
"ahash",
|
1401
1425
|
"async-trait",
|
@@ -1433,9 +1457,9 @@ dependencies = [
|
|
1433
1457
|
|
1434
1458
|
[[package]]
|
1435
1459
|
name = "polars-json"
|
1436
|
-
version = "0.
|
1460
|
+
version = "0.40.0"
|
1437
1461
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1438
|
-
checksum = "
|
1462
|
+
checksum = "160cbad0145b93ac6a88639aadfa6f7d7c769d05a8674f9b7e895b398cae9901"
|
1439
1463
|
dependencies = [
|
1440
1464
|
"ahash",
|
1441
1465
|
"chrono",
|
@@ -1454,9 +1478,9 @@ dependencies = [
|
|
1454
1478
|
|
1455
1479
|
[[package]]
|
1456
1480
|
name = "polars-lazy"
|
1457
|
-
version = "0.
|
1481
|
+
version = "0.40.0"
|
1458
1482
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1459
|
-
checksum = "
|
1483
|
+
checksum = "e805ea2ebbc6b7749b0afb31b7fc5d32b42b57ba29b984549d43d3a16114c4a5"
|
1460
1484
|
dependencies = [
|
1461
1485
|
"ahash",
|
1462
1486
|
"bitflags 2.4.1",
|
@@ -1464,6 +1488,7 @@ dependencies = [
|
|
1464
1488
|
"once_cell",
|
1465
1489
|
"polars-arrow",
|
1466
1490
|
"polars-core",
|
1491
|
+
"polars-expr",
|
1467
1492
|
"polars-io",
|
1468
1493
|
"polars-json",
|
1469
1494
|
"polars-ops",
|
@@ -1478,9 +1503,9 @@ dependencies = [
|
|
1478
1503
|
|
1479
1504
|
[[package]]
|
1480
1505
|
name = "polars-ops"
|
1481
|
-
version = "0.
|
1506
|
+
version = "0.40.0"
|
1482
1507
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1483
|
-
checksum = "
|
1508
|
+
checksum = "7b0aed7e169c81b98457641cf82b251f52239a668916c2e683abd1f38df00d58"
|
1484
1509
|
dependencies = [
|
1485
1510
|
"ahash",
|
1486
1511
|
"aho-corasick",
|
@@ -1515,9 +1540,9 @@ dependencies = [
|
|
1515
1540
|
|
1516
1541
|
[[package]]
|
1517
1542
|
name = "polars-parquet"
|
1518
|
-
version = "0.
|
1543
|
+
version = "0.40.0"
|
1519
1544
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1520
|
-
checksum = "
|
1545
|
+
checksum = "c70670a9e51cac66d0e77fd20b5cc957dbcf9f2660d410633862bb72f846d5b8"
|
1521
1546
|
dependencies = [
|
1522
1547
|
"ahash",
|
1523
1548
|
"async-stream",
|
@@ -1541,9 +1566,9 @@ dependencies = [
|
|
1541
1566
|
|
1542
1567
|
[[package]]
|
1543
1568
|
name = "polars-pipe"
|
1544
|
-
version = "0.
|
1569
|
+
version = "0.40.0"
|
1545
1570
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1546
|
-
checksum = "
|
1571
|
+
checksum = "0a40ae1b3c74ee07e2d1f7cbf56c5d6e15969e45d9b6f0903bd2acaf783ba436"
|
1547
1572
|
dependencies = [
|
1548
1573
|
"crossbeam-channel",
|
1549
1574
|
"crossbeam-queue",
|
@@ -1553,6 +1578,7 @@ dependencies = [
|
|
1553
1578
|
"polars-arrow",
|
1554
1579
|
"polars-compute",
|
1555
1580
|
"polars-core",
|
1581
|
+
"polars-expr",
|
1556
1582
|
"polars-io",
|
1557
1583
|
"polars-ops",
|
1558
1584
|
"polars-plan",
|
@@ -1566,14 +1592,15 @@ dependencies = [
|
|
1566
1592
|
|
1567
1593
|
[[package]]
|
1568
1594
|
name = "polars-plan"
|
1569
|
-
version = "0.
|
1595
|
+
version = "0.40.0"
|
1570
1596
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1571
|
-
checksum = "
|
1597
|
+
checksum = "8daa3541ae7e9af311a4389bc2b21f83349c34c723cc67fa524cdefdaa172d90"
|
1572
1598
|
dependencies = [
|
1573
1599
|
"ahash",
|
1574
1600
|
"bytemuck",
|
1575
1601
|
"chrono",
|
1576
1602
|
"chrono-tz",
|
1603
|
+
"either",
|
1577
1604
|
"hashbrown 0.14.3",
|
1578
1605
|
"once_cell",
|
1579
1606
|
"percent-encoding",
|
@@ -1590,15 +1617,15 @@ dependencies = [
|
|
1590
1617
|
"regex",
|
1591
1618
|
"serde",
|
1592
1619
|
"smartstring",
|
1593
|
-
"strum_macros",
|
1620
|
+
"strum_macros 0.26.2",
|
1594
1621
|
"version_check",
|
1595
1622
|
]
|
1596
1623
|
|
1597
1624
|
[[package]]
|
1598
1625
|
name = "polars-row"
|
1599
|
-
version = "0.
|
1626
|
+
version = "0.40.0"
|
1600
1627
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1601
|
-
checksum = "
|
1628
|
+
checksum = "deb285f2f3a65b00dd06bef16bb9f712dbb5478f941dab5cf74f9f016d382e40"
|
1602
1629
|
dependencies = [
|
1603
1630
|
"bytemuck",
|
1604
1631
|
"polars-arrow",
|
@@ -1608,11 +1635,12 @@ dependencies = [
|
|
1608
1635
|
|
1609
1636
|
[[package]]
|
1610
1637
|
name = "polars-sql"
|
1611
|
-
version = "0.
|
1638
|
+
version = "0.40.0"
|
1612
1639
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1613
|
-
checksum = "
|
1640
|
+
checksum = "a724f699d194cb02c25124d3832f7d4d77f387f1a89ee42f6b9e88ec561d4ad9"
|
1614
1641
|
dependencies = [
|
1615
1642
|
"hex",
|
1643
|
+
"once_cell",
|
1616
1644
|
"polars-arrow",
|
1617
1645
|
"polars-core",
|
1618
1646
|
"polars-error",
|
@@ -1626,11 +1654,12 @@ dependencies = [
|
|
1626
1654
|
|
1627
1655
|
[[package]]
|
1628
1656
|
name = "polars-time"
|
1629
|
-
version = "0.
|
1657
|
+
version = "0.40.0"
|
1630
1658
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1631
|
-
checksum = "
|
1659
|
+
checksum = "87ebec238d8b6200d9f0c3ce411c8441e950bd5a7df7806b8172d06c1d5a4b97"
|
1632
1660
|
dependencies = [
|
1633
1661
|
"atoi",
|
1662
|
+
"bytemuck",
|
1634
1663
|
"chrono",
|
1635
1664
|
"chrono-tz",
|
1636
1665
|
"now",
|
@@ -1647,9 +1676,9 @@ dependencies = [
|
|
1647
1676
|
|
1648
1677
|
[[package]]
|
1649
1678
|
name = "polars-utils"
|
1650
|
-
version = "0.
|
1679
|
+
version = "0.40.0"
|
1651
1680
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1652
|
-
checksum = "
|
1681
|
+
checksum = "34e1a907c63abf71e5f21467e2e4ff748896c28196746f631c6c25512ec6102c"
|
1653
1682
|
dependencies = [
|
1654
1683
|
"ahash",
|
1655
1684
|
"bytemuck",
|
@@ -2103,6 +2132,19 @@ dependencies = [
|
|
2103
2132
|
"syn 2.0.46",
|
2104
2133
|
]
|
2105
2134
|
|
2135
|
+
[[package]]
|
2136
|
+
name = "strum_macros"
|
2137
|
+
version = "0.26.2"
|
2138
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2139
|
+
checksum = "c6cf59daf282c0a494ba14fd21610a0325f9f90ec9d1231dea26bcb1d696c946"
|
2140
|
+
dependencies = [
|
2141
|
+
"heck",
|
2142
|
+
"proc-macro2",
|
2143
|
+
"quote",
|
2144
|
+
"rustversion",
|
2145
|
+
"syn 2.0.46",
|
2146
|
+
]
|
2147
|
+
|
2106
2148
|
[[package]]
|
2107
2149
|
name = "syn"
|
2108
2150
|
version = "1.0.109"
|