HeaderOptions

io.github.quafadas.scautable.HeaderOptions
See theHeaderOptions companion object

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
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

Automatically generate column headers in the format "col_0", "col_1", etc.

Automatically generate column headers in the format "col_0", "col_1", etc.

This is useful when the source data doesn't contain headers or when you want to ignore existing headers.

Attributes

final case class FromRows(merge: Int, dropFirst: Int)

Extract headers from the data rows.

Extract headers from the data rows.

Value parameters

dropFirst

Number of rows to skip before reading header rows

merge

Number of rows to merge to form the headers

Attributes

final case class Manual(headers: String*)

Use manually specified headers.

Use manually specified headers.

Value parameters

headers

The column names to use as headers

Attributes