pola-rs / polars

Dataframes powered by a multithreaded, vectorized query engine, written in Rust
https://docs.pola.rs
Other
30.23k stars 1.95k forks source link

polars with decimal #17498

Open cfkstat opened 4 months ago

cfkstat commented 4 months ago

Description

Polars 1.0 read_parquet not convert decimal into float,how to control this like polars 0.20,because the decimal use more memory than float 64.

Link

No response

ritchie46 commented 4 months ago

read_parquet().with_columns(pl.col(pl.Decimal()).cast(pl.Float64))