Developer Guide and Reference

  • 2021.6
  • 04/11/2022
  • Public Content

CSV data source

is an API for accessing the data source represented as a csv file. CSV data source is used with
operation to extract data in text format from the given input file, process it using provided parameters (such as delimiter and read options), transform it into numerical representation, and store it as an in-memory dataset of a chosen type.
Supported type of in-memory object for
operation with CSV data source is
CSV data source requires input file name to be set in the constructor, while the other parameters of the constructor such as delimiter and read options rely on default values.

Usage example

using namespace oneapi; const auto data_source = dal::csv::data_source("data.csv", ','); const auto table = dal::read<dal::table>(data_source);

Programming Interface

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at