Closed universalmind303 closed 2 weeks ago
i want to run mean and stddev on decimal dtypes
mean
stddev
import daft from daft import col, lit d_col = col("floats").cast(daft.DataType.decimal128(5, 2)) df = ( daft.from_pydict({"floats": [328.00, 300.00]}) .agg(d_col.stddev()) .collect() ) df
casting to floats, but this may lose some precision.
No response
No
Is your feature request related to a problem?
i want to run
mean
andstddev
on decimal dtypesDescribe the solution you'd like
Describe alternatives you've considered
casting to floats, but this may lose some precision.
Additional Context
No response
Would you like to implement a fix?
No