36#ifndef STK_IMPORTFROMCSV_H
37#define STK_IMPORTFROMCSV_H
107 template<
class Other>
In this file we declare the DataFrame class.
In this file we define the main constant and method needed when importing data.
In this file we define the class TReadWriteCsv.
This file include all the other header files of the project Sdk.
DataFrame is a List of Variable with the same number of rows.
Abstract base class for all classes having a.
import data from a Csv File in a DataFrame.
Import::TypeImport typeImport_
the type of import we want to perform.
DataFrame * p_dataFrame_
A ptr on the resulting DataFrame.
void setTypeImport(Import::TypeImport typeImport)
set the type of import the end user want
bool asOnlyNumeric()
launch the conversion from the ReadWriteCsv to a DataFrame with only the successful numeric conversio...
bool asString()
launch the conversion from the ReadWriteCsv to a DataFrame as String.
void release()
Release the dataFrame.
ReadWriteCsv const & import_
a constant reference on the the original ReadWriteCsv.
bool asNumeric()
launch the conversion from the ReadWriteCsv to a DataFrame with a numeric conversion.
ImportFromCsv * clone() const
clone pattern.
virtual ~ImportFromCsv()
destructor.
DataFrame const * dataFrame() const
bool run()
launch the importation of the ReadWriteCsv to the DataFrame.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
TypeImport
define the type of import we want to perform.
@ numeric_
try to convert the columns in numeric values and let the others as string
The namespace STK is the main domain space of the Statistical ToolKit project.
class TReadWriteCsv< String > ReadWriteCsv