table
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
table.type
Members list
Type members
Classlikes
Options for handling headers in tabular data.
Options for handling headers in tabular data.
This enum provides different strategies for obtaining column headers when reading data from sources like CSV files or Excel spreadsheets.
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
HeaderOptions.type
Specifies how to read CSV data.
Specifies how to read CSV data.
Rows: ReturnsCsvIterator[K, V]- lazy row-by-row iterationColumns: ReturnsNamedTuple[K, (Array[T1], Array[T2], ...)]- eager column arraysArrayDenseColMajor[T]: Returns a single dense array in column-major orderArrayDenseRowMajor[T]: Returns a single dense array in row-major order
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Enumeration of strategies for inferring column types when reading CSV files.
Enumeration of strategies for inferring column types when reading CSV files.
FirstRow: Infers types by inspecting only the first row of data.FirstN: Infers types by inspecting the firstnrows. Optionally, prefersIntoverBooleanif both are possible.FromAllRows: Infers types by inspecting all rows in the CSV.StringType: Disables type inference; all columns are read asString.FromTuple[T]: Uses a user-supplied tuple typeTfor decoding, allowing custom or manual type specification.
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TypeInferrer.type
Exports
Defined exports
Read Excel file from an absolute path with compile-time type inference
Read Excel file from an absolute path with compile-time type inference
Value parameters
- filePath
-
Absolute path to the Excel file
- range
-
Optional cell range (e.g., "A1:C10"), empty string reads entire sheet
- sheetName
-
Name of the Excel sheet to read
- typeInferrer
-
Type inference strategy (StringType or FromTuple supported)
Attributes
- Returns
-
ExcelIterator with inferred types
Decoder for Int that can handle Excel's numeric formatting Attempts to parse as Double first, then converts to Int if it's a whole number Falls back to regular Int parsing if Double parsing fails
Decoder for Int that can handle Excel's numeric formatting Attempts to parse as Double first, then converts to Int if it's a whole number Falls back to regular Int parsing if Double parsing fails
Attributes
Decoder for Long that can handle Excel's numeric formatting Attempts to parse as Double first, then converts to Long if it's a whole number Falls back to regular Long parsing if Double parsing fails
Decoder for Long that can handle Excel's numeric formatting Attempts to parse as Double first, then converts to Long if it's a whole number Falls back to regular Long parsing if Double parsing fails
Attributes
Read Excel file from the classpath with compile-time type inference
Read Excel file from the classpath with compile-time type inference
Value parameters
- filePath
-
Path to the Excel file in the classpath
- range
-
Optional cell range (e.g., "A1:C10"), empty string reads entire sheet
- sheetName
-
Name of the Excel sheet to read
- typeInferrer
-
Type inference strategy (StringType or FromTuple supported)
Attributes
- Returns
-
ExcelIterator with inferred types