Skip to main content

Posts

Showing posts from February, 2023

Polarsの味見

ここのところ読書か仕事に直接関係のある学習が多くて気付けばブログからかなり足が遠のいていた。 が、Polarsで遊ぶ時間をとったので、触った感触の走り書きを残すことにする。 GitHub - pola-rs/polars: Fast multi-threaded, hybrid-out-of-core DataFrame library in Rust | Python | Node.js  https://github.com/pola-rs/polars/ まずはインストール。 Polarsをインストールしてはじめの一歩を試してみようとしている。 けど、最初で早速つまづく。 cargo add polars ### 下に記載のサンプルをmain.rsにコピー cargo build Compiling arrow2 v0. 16.0 error[E0658]: generic associated types are unstable --> /home/tkojima/.cargo/registry/src/github.com- 1 ecc6299db9ec823/arrow2- 0.16 . 0 /src/array/dictionary/typed_iterator.rs: 9 : 5 | 9 | / type IterValue < 'this > 10 | | where 11 | | Self : 'this ; | |____________________^ | = note: see issue # 44265 <https: //github.com/rust-lang/rust/issues/44265> for more information error[E0658]: where clauses on associated types are unstable --> /home/tkojima/.cargo/registry/src/github.com- 1 ecc6299db9ec823/arrow2- 0.16 . 0 /src/array/dictionary/typed_