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: create_py_dataset_cache_file_path(), data.frame_to_py_dataset(), extract_column_from_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 March 3, 2026, 1:06 a.m.