FixedWidthTextOptions Constructor

Definition

Namespace: Numerics.NET.Data.Text
Assembly: Numerics.NET.Data (in Numerics.NET.Data.dll) Version: 4.0.3

Overload List

FixedWidthTextOptions(Int32[], IFormatProvider, Boolean, Boolean, Int32, Type, Int32)

Constructs a new FixedWidthTextOptions object.
C#
public FixedWidthTextOptions(
	int[] columnBreaks,
	IFormatProvider formatProvider,
	bool rowHeaders,
	bool columnHeaders,
	int startRow,
	Type decimalType,
	int inferenceRows
)

Parameters

columnBreaks  Int32[]
An integer array containing the zero-based indexes of the column breaks on each row.
formatProvider  IFormatProvider
An IFormatProvider that is used in the conversion between text and other data types.
rowHeaders  Boolean
Indicates that the first column contains row headers.
columnHeaders  Boolean
Indicates that the first row contains column headers.
startRow  Int32
An integer specifying the 1-based row which contains the start of the data.
decimalType  Type
The type to use for numbers containing decimals.
inferenceRows  Int32
The number of rows to use to infer the types of the columns.

FixedWidthTextOptions(Int32[], IFormatProvider, Boolean, Boolean, Int32, Type, Int32, AutoCategorization, Int32)

Constructs a new FixedWidthTextOptions object.
C#
public FixedWidthTextOptions(
	int[] columnBreaks,
	IFormatProvider formatProvider = null,
	bool rowHeaders = false,
	bool columnHeaders = true,
	int startRow = 0,
	Type decimalType = null,
	int inferenceRows = 100,
	AutoCategorization autoCategorize = AutoCategorization.None,
	int maxCategories = 100
)

Parameters

columnBreaks  Int32[]
An integer array containing the zero-based indexes of the column breaks on each row.
formatProvider  IFormatProvider  (Optional)
An IFormatProvider that is used in the conversion between text and other data types.
rowHeaders  Boolean  (Optional)
Indicates that the first column contains row headers.
columnHeaders  Boolean  (Optional)
Indicates that the first row contains column headers.
startRow  Int32  (Optional)
An integer specifying the 1-based row which contains the start of the data.
decimalType  Type  (Optional)
The type to use for numbers containing decimals.
inferenceRows  Int32  (Optional)
The number of rows to use to infer the types of the columns.
autoCategorize  AutoCategorization  (Optional)
Specifies which columns should be automatically converted to categorical columns.
maxCategories  Int32  (Optional)
The largest number of distinct levels for a column to be considered categorical.

See Also