dispatch module¶
Engine-neutral dispatch wrappers for records functions.
bottom_n_mapped_mask function¶
bottom_n_mapped_mask(
mapped_arr,
col_map,
n,
engine=None
)
Engine-neutral bottom-N mask computation.
Rust path: standalone bottom_n_mapped_mask_rs. Numba path: mapped_to_mask_nb with bottom_n_inout_map_nb callback.
col_map function¶
col_map(
col_arr,
n_cols,
engine=None
)
Engine-neutral col_map_nb().
col_map_select function¶
col_map_select(
col_map,
new_cols,
engine=None
)
Engine-neutral col_map_select_nb().
col_range function¶
col_range(
col_arr,
n_cols,
engine=None
)
Engine-neutral col_range_nb().
col_range_select function¶
col_range_select(
col_range,
new_cols,
engine=None
)
Engine-neutral col_range_select_nb().
expand_mapped function¶
expand_mapped(
mapped_arr,
col_arr,
idx_arr,
target_shape,
fill_value,
engine=None
)
Engine-neutral expand_mapped_nb().
is_col_idx_sorted function¶
is_col_idx_sorted(
col_arr,
id_arr,
engine=None
)
Engine-neutral is_col_idx_sorted_nb().
is_col_sorted function¶
is_col_sorted(
col_arr,
engine=None
)
Engine-neutral is_col_sorted_nb().
is_mapped_expandable function¶
is_mapped_expandable(
col_arr,
idx_arr,
target_shape,
engine=None
)
Engine-neutral is_mapped_expandable_nb().
mapped_value_counts function¶
mapped_value_counts(
codes,
n_uniques,
col_map,
engine=None
)
Engine-neutral mapped_value_counts_nb().
record_array_compatible_with_rust function¶
record_array_compatible_with_rust(
records
)
Return whether a structured record array is compatible with the Rust engine.
Requires a NumPy structured array with int64 id and col fields.
record_col_map_select function¶
record_col_map_select(
records,
col_map,
new_cols,
engine=None
)
Engine-neutral record_col_map_select_nb().
record_col_range_select function¶
record_col_range_select(
records,
col_range,
new_cols,
engine=None
)
Engine-neutral record_col_range_select_nb().
stack_expand_mapped function¶
stack_expand_mapped(
mapped_arr,
col_map,
fill_value,
engine=None
)
Engine-neutral stack_expand_mapped_nb().
top_n_mapped_mask function¶
top_n_mapped_mask(
mapped_arr,
col_map,
n,
engine=None
)
Engine-neutral top-N mask computation.
Rust path: standalone top_n_mapped_mask_rs. Numba path: mapped_to_mask_nb with top_n_inout_map_nb callback.