class_vector_to_py_dataset: Convert class vector to arrow data set

View source: R/utils_python_data_management.R

class_vector_to_py_datasetR Documentation

Convert class vector to arrow data set

Description

Function converts a vector of class indices into an arrow data set.

Usage

class_vector_to_py_dataset(vector)

Arguments

vector

vector of class indices.

Value

Returns a data set of class datasets.arrow_dataset.Dataset containing the class indices.

See Also

Other Utils Python Data Management Developers: data.frame_to_py_dataset(), get_batches_index(), prepare_r_array_for_dataset(), py_dataset_to_embeddings(), reduce_to_unique(), tensor_list_to_numpy(), tensor_to_numpy()


aifeducation documentation built on Nov. 19, 2025, 5:08 p.m.