Module Series.Expert

val modify_at_chunk_index : t -> dtype:'a Data_type.Typed.t -> chunk_index:int -> indices_and_values:(int * 'a) list -> (unit, string) Core.result

Edit the values of a chunk in a non-nullable series.

This function will result in undesired behavior when applied to a series containing any null values -- use modify_optional_series_at_chunk_index to get proper null handling.

val modify_optional_at_chunk_index : t -> dtype:'a Data_type.Typed.t -> chunk_index:int -> indices_and_values:(int * 'a option) list -> (unit, string) Core.result

Edit the values of a chunk in a nullable series. This does not automatically update the null counts for the series; call compute_null_count after updating chunks.

val compute_null_count : t -> int

Recompute the null counts for the series, if the cached null counts are stale.