Ultra 0.9.4
Loading...
Searching...
No Matches
ultra::src::dataframe::params Struct Reference

Public Types

enum  index : std::size_t { front = 0 , back = std::numeric_limits<std::size_t>::max() }

Public Member Functions

params & header () noexcept
params & no_header () noexcept
params & output (std::size_t o)
params & no_output () noexcept
params & strong_data_typing () noexcept
params & weak_data_typing () noexcept

Public Attributes

typing data_typing {typing::weak}
 See typing for details.
pocket_csv::dialect dialect {}
pocket_csv::parser::filter_hook_t filter {nullptr}
std::optional< std::size_t > output_index {0}

Detailed Description

Examples
sonar.cc.

Member Data Documentation

◆ dialect

pocket_csv::dialect ultra::src::dataframe::params::dialect {}
Remarks
Used only when reading CSV files.

◆ filter

pocket_csv::parser::filter_hook_t ultra::src::dataframe::params::filter {nullptr}

A filter and transform function (returns true for records that should be loaded and, possibly, transforms its input parameter).

◆ output_index

std::optional<std::size_t> ultra::src::dataframe::params::output_index {0}

Index of the column containing the output value (label).

Remarks
Used only when reading CSV files.
Examples
sonar.cc.

The documentation for this struct was generated from the following file: