polars-df 0.10.0-aarch64-linux → 0.11.0-aarch64-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
data/LICENSE-THIRD-PARTY.txt
CHANGED
@@ -66,7 +66,7 @@ avro-schema v0.3.0
|
|
66
66
|
https://github.com/DataEngineeringLabs/avro-schema
|
67
67
|
MIT/Apache-2.0
|
68
68
|
|
69
|
-
base64 v0.
|
69
|
+
base64 v0.22.1
|
70
70
|
https://github.com/marshallpierce/rust-base64
|
71
71
|
MIT OR Apache-2.0
|
72
72
|
|
@@ -78,11 +78,11 @@ bitflags v2.4.1
|
|
78
78
|
https://github.com/bitflags/bitflags
|
79
79
|
MIT OR Apache-2.0
|
80
80
|
|
81
|
-
brotli
|
81
|
+
brotli v5.0.0
|
82
82
|
https://github.com/dropbox/rust-brotli
|
83
|
-
BSD-3-Clause
|
83
|
+
BSD-3-Clause OR MIT
|
84
84
|
|
85
|
-
brotli-decompressor
|
85
|
+
brotli-decompressor v4.0.0
|
86
86
|
https://github.com/dropbox/rust-brotli-decompressor
|
87
87
|
BSD-3-Clause/MIT
|
88
88
|
|
@@ -169,8 +169,8 @@ dyn-clone v1.0.16
|
|
169
169
|
https://github.com/dtolnay/dyn-clone
|
170
170
|
MIT OR Apache-2.0
|
171
171
|
|
172
|
-
either v1.
|
173
|
-
https://github.com/
|
172
|
+
either v1.12.0
|
173
|
+
https://github.com/rayon-rs/either
|
174
174
|
MIT OR Apache-2.0
|
175
175
|
|
176
176
|
enum_dispatch v0.3.12
|
@@ -373,7 +373,7 @@ lz4-sys v1.9.4
|
|
373
373
|
https://github.com/10xGenomics/lz4-rs
|
374
374
|
MIT
|
375
375
|
|
376
|
-
magnus v0.6.
|
376
|
+
magnus v0.6.4
|
377
377
|
https://github.com/matsadler/magnus
|
378
378
|
MIT
|
379
379
|
|
@@ -417,7 +417,7 @@ now v0.1.3
|
|
417
417
|
https://github.com/Kilerd/now
|
418
418
|
MIT
|
419
419
|
|
420
|
-
num-traits v0.2.
|
420
|
+
num-traits v0.2.19
|
421
421
|
https://github.com/rust-num/num-traits
|
422
422
|
MIT OR Apache-2.0
|
423
423
|
|
@@ -485,70 +485,74 @@ planus v0.3.1
|
|
485
485
|
https://github.com/planus-org/planus
|
486
486
|
MIT/Apache-2.0
|
487
487
|
|
488
|
-
polars v0.
|
488
|
+
polars v0.40.0
|
489
489
|
https://www.pola.rs/
|
490
490
|
MIT
|
491
491
|
|
492
|
-
polars-arrow v0.
|
492
|
+
polars-arrow v0.40.0
|
493
493
|
https://www.pola.rs/
|
494
494
|
MIT AND Apache-2.0
|
495
495
|
|
496
496
|
polars-arrow-format v0.1.0
|
497
497
|
https://github.com/polar-rs/arrow-format
|
498
498
|
|
499
|
-
polars-compute v0.
|
499
|
+
polars-compute v0.40.0
|
500
|
+
https://www.pola.rs/
|
501
|
+
MIT
|
502
|
+
|
503
|
+
polars-core v0.40.0
|
500
504
|
https://www.pola.rs/
|
501
505
|
MIT
|
502
506
|
|
503
|
-
polars-
|
507
|
+
polars-error v0.40.0
|
504
508
|
https://www.pola.rs/
|
505
509
|
MIT
|
506
510
|
|
507
|
-
polars-
|
511
|
+
polars-expr v0.40.0
|
508
512
|
https://www.pola.rs/
|
509
513
|
MIT
|
510
514
|
|
511
|
-
polars-io v0.
|
515
|
+
polars-io v0.40.0
|
512
516
|
https://www.pola.rs/
|
513
517
|
MIT
|
514
518
|
|
515
|
-
polars-json v0.
|
519
|
+
polars-json v0.40.0
|
516
520
|
https://www.pola.rs/
|
517
521
|
MIT
|
518
522
|
|
519
|
-
polars-lazy v0.
|
523
|
+
polars-lazy v0.40.0
|
520
524
|
https://www.pola.rs/
|
521
525
|
MIT
|
522
526
|
|
523
|
-
polars-ops v0.
|
527
|
+
polars-ops v0.40.0
|
524
528
|
https://www.pola.rs/
|
525
529
|
MIT
|
526
530
|
|
527
|
-
polars-parquet v0.
|
531
|
+
polars-parquet v0.40.0
|
528
532
|
https://www.pola.rs/
|
529
533
|
MIT AND Apache-2.0
|
530
534
|
|
531
|
-
polars-pipe v0.
|
535
|
+
polars-pipe v0.40.0
|
532
536
|
https://www.pola.rs/
|
533
537
|
MIT
|
534
538
|
|
535
|
-
polars-plan v0.
|
539
|
+
polars-plan v0.40.0
|
536
540
|
https://www.pola.rs/
|
537
541
|
MIT
|
538
542
|
|
539
|
-
polars-row v0.
|
543
|
+
polars-row v0.40.0
|
540
544
|
https://www.pola.rs/
|
541
545
|
MIT
|
542
546
|
|
543
|
-
polars-sql v0.
|
547
|
+
polars-sql v0.40.0
|
544
548
|
https://www.pola.rs/
|
545
549
|
MIT
|
546
550
|
|
547
|
-
polars-time v0.
|
551
|
+
polars-time v0.40.0
|
548
552
|
https://www.pola.rs/
|
549
553
|
MIT
|
550
554
|
|
551
|
-
polars-utils v0.
|
555
|
+
polars-utils v0.40.0
|
552
556
|
https://www.pola.rs/
|
553
557
|
MIT
|
554
558
|
|
@@ -744,6 +748,10 @@ strum_macros v0.25.3
|
|
744
748
|
https://github.com/Peternator7/strum
|
745
749
|
MIT
|
746
750
|
|
751
|
+
strum_macros v0.26.2
|
752
|
+
https://github.com/Peternator7/strum
|
753
|
+
MIT
|
754
|
+
|
747
755
|
syn v1.0.109
|
748
756
|
https://github.com/dtolnay/syn
|
749
757
|
MIT OR Apache-2.0
|
@@ -1493,33 +1501,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
1493
1501
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1494
1502
|
SOFTWARE.
|
1495
1503
|
|
1496
|
-
================================================================================
|
1497
|
-
array-init-cursor LICENSE-MIT
|
1498
|
-
================================================================================
|
1499
|
-
|
1500
|
-
MIT License
|
1501
|
-
|
1502
|
-
Copyright (c) 2021 The Planus Project Developers
|
1503
|
-
|
1504
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
1505
|
-
of this software and associated documentation files (the "Software"), to deal
|
1506
|
-
in the Software without restriction, including without limitation the rights
|
1507
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
1508
|
-
copies of the Software, and to permit persons to whom the Software is
|
1509
|
-
furnished to do so, subject to the following conditions:
|
1510
|
-
|
1511
|
-
The above copyright notice and this permission notice shall be included in all
|
1512
|
-
copies or substantial portions of the Software.
|
1513
|
-
|
1514
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1515
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1516
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1517
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1518
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1519
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1520
|
-
SOFTWARE.
|
1521
|
-
|
1522
|
-
|
1523
1504
|
================================================================================
|
1524
1505
|
array-init-cursor LICENSE-APACHE
|
1525
1506
|
================================================================================
|
@@ -1702,6 +1683,33 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
1702
1683
|
END OF TERMS AND CONDITIONS
|
1703
1684
|
|
1704
1685
|
|
1686
|
+
================================================================================
|
1687
|
+
array-init-cursor LICENSE-MIT
|
1688
|
+
================================================================================
|
1689
|
+
|
1690
|
+
MIT License
|
1691
|
+
|
1692
|
+
Copyright (c) 2021 The Planus Project Developers
|
1693
|
+
|
1694
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
1695
|
+
of this software and associated documentation files (the "Software"), to deal
|
1696
|
+
in the Software without restriction, including without limitation the rights
|
1697
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
1698
|
+
copies of the Software, and to permit persons to whom the Software is
|
1699
|
+
furnished to do so, subject to the following conditions:
|
1700
|
+
|
1701
|
+
The above copyright notice and this permission notice shall be included in all
|
1702
|
+
copies or substantial portions of the Software.
|
1703
|
+
|
1704
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
1705
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
1706
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
1707
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
1708
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
1709
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
1710
|
+
SOFTWARE.
|
1711
|
+
|
1712
|
+
|
1705
1713
|
================================================================================
|
1706
1714
|
async-stream LICENSE
|
1707
1715
|
================================================================================
|
@@ -24644,33 +24652,6 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
|
24644
24652
|
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
24645
24653
|
DEALINGS IN THE SOFTWARE.
|
24646
24654
|
|
24647
|
-
================================================================================
|
24648
|
-
planus LICENSE-MIT
|
24649
|
-
================================================================================
|
24650
|
-
|
24651
|
-
MIT License
|
24652
|
-
|
24653
|
-
Copyright (c) 2021 The Planus Project Developers
|
24654
|
-
|
24655
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
24656
|
-
of this software and associated documentation files (the "Software"), to deal
|
24657
|
-
in the Software without restriction, including without limitation the rights
|
24658
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
24659
|
-
copies of the Software, and to permit persons to whom the Software is
|
24660
|
-
furnished to do so, subject to the following conditions:
|
24661
|
-
|
24662
|
-
The above copyright notice and this permission notice shall be included in all
|
24663
|
-
copies or substantial portions of the Software.
|
24664
|
-
|
24665
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
24666
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
24667
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
24668
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
24669
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
24670
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
24671
|
-
SOFTWARE.
|
24672
|
-
|
24673
|
-
|
24674
24655
|
================================================================================
|
24675
24656
|
planus LICENSE-APACHE
|
24676
24657
|
================================================================================
|
@@ -24853,11 +24834,39 @@ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
24853
24834
|
END OF TERMS AND CONDITIONS
|
24854
24835
|
|
24855
24836
|
|
24837
|
+
================================================================================
|
24838
|
+
planus LICENSE-MIT
|
24839
|
+
================================================================================
|
24840
|
+
|
24841
|
+
MIT License
|
24842
|
+
|
24843
|
+
Copyright (c) 2021 The Planus Project Developers
|
24844
|
+
|
24845
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
24846
|
+
of this software and associated documentation files (the "Software"), to deal
|
24847
|
+
in the Software without restriction, including without limitation the rights
|
24848
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
24849
|
+
copies of the Software, and to permit persons to whom the Software is
|
24850
|
+
furnished to do so, subject to the following conditions:
|
24851
|
+
|
24852
|
+
The above copyright notice and this permission notice shall be included in all
|
24853
|
+
copies or substantial portions of the Software.
|
24854
|
+
|
24855
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
24856
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
24857
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
24858
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
24859
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
24860
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
24861
|
+
SOFTWARE.
|
24862
|
+
|
24863
|
+
|
24856
24864
|
================================================================================
|
24857
24865
|
polars LICENSE
|
24858
24866
|
================================================================================
|
24859
24867
|
|
24860
24868
|
Copyright (c) 2020 Ritchie Vink
|
24869
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
24861
24870
|
|
24862
24871
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
24863
24872
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25501,6 +25510,7 @@ polars-compute LICENSE
|
|
25501
25510
|
================================================================================
|
25502
25511
|
|
25503
25512
|
Copyright (c) 2020 Ritchie Vink
|
25513
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25504
25514
|
|
25505
25515
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25506
25516
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25525,6 +25535,7 @@ polars-core LICENSE
|
|
25525
25535
|
================================================================================
|
25526
25536
|
|
25527
25537
|
Copyright (c) 2020 Ritchie Vink
|
25538
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25528
25539
|
|
25529
25540
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25530
25541
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25549,6 +25560,32 @@ polars-error LICENSE
|
|
25549
25560
|
================================================================================
|
25550
25561
|
|
25551
25562
|
Copyright (c) 2020 Ritchie Vink
|
25563
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25564
|
+
|
25565
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25566
|
+
of this software and associated documentation files (the "Software"), to deal
|
25567
|
+
in the Software without restriction, including without limitation the rights
|
25568
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
25569
|
+
copies of the Software, and to permit persons to whom the Software is
|
25570
|
+
furnished to do so, subject to the following conditions:
|
25571
|
+
|
25572
|
+
The above copyright notice and this permission notice shall be included in all
|
25573
|
+
copies or substantial portions of the Software.
|
25574
|
+
|
25575
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
25576
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
25577
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
25578
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
25579
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
25580
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
25581
|
+
SOFTWARE.
|
25582
|
+
|
25583
|
+
================================================================================
|
25584
|
+
polars-expr LICENSE
|
25585
|
+
================================================================================
|
25586
|
+
|
25587
|
+
Copyright (c) 2020 Ritchie Vink
|
25588
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25552
25589
|
|
25553
25590
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25554
25591
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25573,6 +25610,7 @@ polars-io LICENSE
|
|
25573
25610
|
================================================================================
|
25574
25611
|
|
25575
25612
|
Copyright (c) 2020 Ritchie Vink
|
25613
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25576
25614
|
|
25577
25615
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25578
25616
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25597,6 +25635,7 @@ polars-json LICENSE
|
|
25597
25635
|
================================================================================
|
25598
25636
|
|
25599
25637
|
Copyright (c) 2020 Ritchie Vink
|
25638
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25600
25639
|
|
25601
25640
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25602
25641
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25621,6 +25660,7 @@ polars-lazy LICENSE
|
|
25621
25660
|
================================================================================
|
25622
25661
|
|
25623
25662
|
Copyright (c) 2020 Ritchie Vink
|
25663
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25624
25664
|
|
25625
25665
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25626
25666
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25645,6 +25685,7 @@ polars-ops LICENSE
|
|
25645
25685
|
================================================================================
|
25646
25686
|
|
25647
25687
|
Copyright (c) 2020 Ritchie Vink
|
25688
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25648
25689
|
|
25649
25690
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25650
25691
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25870,6 +25911,7 @@ polars-pipe LICENSE
|
|
25870
25911
|
================================================================================
|
25871
25912
|
|
25872
25913
|
Copyright (c) 2020 Ritchie Vink
|
25914
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25873
25915
|
|
25874
25916
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25875
25917
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25894,6 +25936,7 @@ polars-plan LICENSE
|
|
25894
25936
|
================================================================================
|
25895
25937
|
|
25896
25938
|
Copyright (c) 2020 Ritchie Vink
|
25939
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25897
25940
|
|
25898
25941
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25899
25942
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25918,6 +25961,7 @@ polars-row LICENSE
|
|
25918
25961
|
================================================================================
|
25919
25962
|
|
25920
25963
|
Copyright (c) 2020 Ritchie Vink
|
25964
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25921
25965
|
|
25922
25966
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25923
25967
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25942,6 +25986,7 @@ polars-sql LICENSE
|
|
25942
25986
|
================================================================================
|
25943
25987
|
|
25944
25988
|
Copyright (c) 2020 Ritchie Vink
|
25989
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25945
25990
|
|
25946
25991
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25947
25992
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25966,6 +26011,7 @@ polars-time LICENSE
|
|
25966
26011
|
================================================================================
|
25967
26012
|
|
25968
26013
|
Copyright (c) 2020 Ritchie Vink
|
26014
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25969
26015
|
|
25970
26016
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25971
26017
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -25990,6 +26036,7 @@ polars-utils LICENSE
|
|
25990
26036
|
================================================================================
|
25991
26037
|
|
25992
26038
|
Copyright (c) 2020 Ritchie Vink
|
26039
|
+
Some portions Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
25993
26040
|
|
25994
26041
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
25995
26042
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -34957,7 +35004,33 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
34957
35004
|
SOFTWARE.
|
34958
35005
|
|
34959
35006
|
================================================================================
|
34960
|
-
strum_macros LICENSE
|
35007
|
+
strum_macros v0.25.3 LICENSE
|
35008
|
+
================================================================================
|
35009
|
+
|
35010
|
+
MIT License
|
35011
|
+
|
35012
|
+
Copyright (c) 2019 Peter Glotfelty
|
35013
|
+
|
35014
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
35015
|
+
of this software and associated documentation files (the "Software"), to deal
|
35016
|
+
in the Software without restriction, including without limitation the rights
|
35017
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
35018
|
+
copies of the Software, and to permit persons to whom the Software is
|
35019
|
+
furnished to do so, subject to the following conditions:
|
35020
|
+
|
35021
|
+
The above copyright notice and this permission notice shall be included in all
|
35022
|
+
copies or substantial portions of the Software.
|
35023
|
+
|
35024
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
35025
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
35026
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
35027
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
35028
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
35029
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
35030
|
+
SOFTWARE.
|
35031
|
+
|
35032
|
+
================================================================================
|
35033
|
+
strum_macros v0.26.2 LICENSE
|
34961
35034
|
================================================================================
|
34962
35035
|
|
34963
35036
|
MIT License
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
# Polars
|
1
|
+
# Ruby Polars
|
2
2
|
|
3
3
|
:fire: Blazingly fast DataFrames for Ruby, powered by [Polars](https://github.com/pola-rs/polars)
|
4
4
|
|
5
|
-
[](https://github.com/ankane/ruby-polars/actions)
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -420,16 +420,16 @@ View the [changelog](CHANGELOG.md)
|
|
420
420
|
|
421
421
|
Everyone is encouraged to help improve this project. Here are a few ways you can help:
|
422
422
|
|
423
|
-
- [Report bugs](https://github.com/ankane/polars
|
424
|
-
- Fix bugs and [submit pull requests](https://github.com/ankane/polars
|
423
|
+
- [Report bugs](https://github.com/ankane/ruby-polars/issues)
|
424
|
+
- Fix bugs and [submit pull requests](https://github.com/ankane/ruby-polars/pulls)
|
425
425
|
- Write, clarify, or fix documentation
|
426
426
|
- Suggest or add new features
|
427
427
|
|
428
428
|
To get started with development:
|
429
429
|
|
430
430
|
```sh
|
431
|
-
git clone https://github.com/ankane/polars
|
432
|
-
cd polars
|
431
|
+
git clone https://github.com/ankane/ruby-polars.git
|
432
|
+
cd ruby-polars
|
433
433
|
bundle install
|
434
434
|
bundle exec rake compile
|
435
435
|
bundle exec rake test
|
data/lib/polars/3.1/polars.so
CHANGED
Binary file
|
data/lib/polars/3.2/polars.so
CHANGED
Binary file
|
data/lib/polars/3.3/polars.so
CHANGED
Binary file
|
@@ -13,6 +13,7 @@ module Polars
|
|
13
13
|
skip_rows: 0,
|
14
14
|
dtypes: nil,
|
15
15
|
null_values: nil,
|
16
|
+
missing_utf8_is_empty_string: false,
|
16
17
|
ignore_errors: false,
|
17
18
|
parse_dates: false,
|
18
19
|
n_threads: nil,
|
@@ -28,10 +29,12 @@ module Polars
|
|
28
29
|
sample_size: 1024,
|
29
30
|
eol_char: "\n",
|
30
31
|
new_columns: nil,
|
31
|
-
|
32
|
+
raise_if_empty: true,
|
33
|
+
truncate_ragged_lines: false,
|
34
|
+
decimal_comma: false
|
32
35
|
)
|
33
36
|
if Utils.pathlike?(file)
|
34
|
-
path = Utils.
|
37
|
+
path = Utils.normalize_filepath(file)
|
35
38
|
end
|
36
39
|
|
37
40
|
dtype_list = nil
|
@@ -72,12 +75,15 @@ module Polars
|
|
72
75
|
comment_char,
|
73
76
|
quote_char,
|
74
77
|
processed_null_values,
|
78
|
+
missing_utf8_is_empty_string,
|
75
79
|
parse_dates,
|
76
80
|
skip_rows_after_header,
|
77
81
|
Utils._prepare_row_count_args(row_count_name, row_count_offset),
|
78
82
|
sample_size,
|
79
83
|
eol_char,
|
80
|
-
|
84
|
+
raise_if_empty,
|
85
|
+
truncate_ragged_lines,
|
86
|
+
decimal_comma
|
81
87
|
)
|
82
88
|
self.new_columns = new_columns
|
83
89
|
end
|
data/lib/polars/convert.rb
CHANGED
@@ -27,7 +27,12 @@ module Polars
|
|
27
27
|
# # │ 2 ┆ 4 │
|
28
28
|
# # └─────┴─────┘
|
29
29
|
def from_hash(data, schema: nil, columns: nil)
|
30
|
-
|
30
|
+
Utils.wrap_df(
|
31
|
+
DataFrame.hash_to_rbdf(
|
32
|
+
data,
|
33
|
+
schema: schema || columns
|
34
|
+
)
|
35
|
+
)
|
31
36
|
end
|
32
37
|
|
33
38
|
# Construct a DataFrame from a sequence of dictionaries. This operation clones data.
|