struct

Crysda::Float64Col

Inherits Crysda::DataCol / Struct / Value / Object

=========================================================================== Optimized Float64 Column - uses Slice + NullBitmap internally

Constructors

dense(name : String, arr : Array(Float64)) : Float64Col
Source
new(name : String, val : Array(Float64 | Nil))
Source

Instance methods

<(val : Number)
Source
<(val : Float64Col)
Source
<=(val : Number)
Source
<=(val : Float64Col)
Source
==(val : Number)
Source
==(val : Float64Col)
Source
>(val : Number)
Source
>(val : Float64Col)
Source
>=(val : Number)
Source
>=(val : Float64Col)
Source
compare(left : Int32, right : Int32, null_last = true) : Int32
Source
diff(periods : Int32 = 1) : Float64Col

Difference between current and previous value

Source
div(val)
Source
each

Lazy iteration - yields values without materializing full array

Source
each_non_null

Lazy iteration over non-null values only (fast path)

Source
each_with_index

Lazy iteration with index

Source
ewm_mean(span : Int32) : Float64Col

Exponential weighted moving average

Source
has_nulls?
Source
minus(val)
Source
opt_max(remove_na = false) : Float64
Source
opt_mean(remove_na = false) : Float64
Source
opt_median(remove_na = false) : Float64
Source
opt_min(remove_na = false) : Float64
Source
opt_sd(remove_na = false) : Float64
Source
opt_sum(remove_na = false) : Float64
Source
plus(val)
Source
rolling_max(window : Int32, min_periods : Int32 | Nil = nil) : Float64Col

Rolling maximum with specified window size

Source
rolling_mean(window : Int32, min_periods : Int32 | Nil = nil) : Float64Col

Rolling mean (moving average) with specified window size

Source
rolling_min(window : Int32, min_periods : Int32 | Nil = nil) : Float64Col

Rolling minimum with specified window size

Source
rolling_std(window : Int32, min_periods : Int32 | Nil = nil) : Float64Col

Rolling standard deviation with specified window size

Source
rolling_sum(window : Int32, min_periods : Int32 | Nil = nil) : Float64Col

Rolling sum with specified window size

Source
times(val)
Source
to_big_decimal(name : String = @name) : BigDecimalCol
Source
unsafe_fetch(index : Int32) : Float64 | Nil

Direct index access without array materialization

Source
values
Source