table

io.github.quafadas.table
object table

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
table.type

Members list

Exports

Defined exports

Exported from Excel$
final val CSV: CSV
Exported from scautable
final type CsvIterator = [K <: Tuple] =>> CsvIterator[K]
Exported from scautable
inline def Default: HeaderOptions
Exported from HeaderOptions
final val Excel: Excel
Exported from scautable
final type FromRows = FromRows
Exported from HeaderOptions$
Exported from scautable
Exported from scautable$
final type Manual = Manual
Exported from HeaderOptions$
transparent inline def absolutePath[T](inline path: String, inline headers: HeaderOptions): CsvIterator[_ <: Tuple]
Exported from CSV
transparent inline def absolutePath[T](inline path: String): CsvIterator[_]
Exported from CSV

Reads a CSV file from an absolute path and returns a io.github.quafadas.scautable.CsvIterator.

Reads a CSV file from an absolute path and returns a io.github.quafadas.scautable.CsvIterator.

Example:

 val csv: CsvIterator[("colA", "colB", "colC")] = CSV.absolutePath("/absolute/path/to/file.csv")

Attributes

transparent inline def absolutePath[K](filePath: String, sheetName: String, range: String): ExcelIterator[_]
Exported from Excel
transparent inline def fromString[T](inline csvContent: String, inline headers: HeaderOptions): CsvIterator[_ <: Tuple]
Exported from CSV
transparent inline def fromString[T](inline csvContent: String): CsvIterator[_]
Exported from CSV

Reads a CSV from a String and returns a io.github.quafadas.scautable.CsvIterator.

Reads a CSV from a String and returns a io.github.quafadas.scautable.CsvIterator.

Example:

val csvContent = "colA,colB\n1,a\n2,b"
val csv: CsvIterator[("colA", "colB")] = CSV.fromString(csvContent)

Attributes

transparent inline def pwd[T](inline path: String, inline headers: HeaderOptions): CsvIterator[_ <: Tuple]
Exported from CSV
transparent inline def pwd[T](inline path: String): CsvIterator[_]
Exported from CSV

Reads a CSV present in the current compiler working directory resources and returns a io.github.quafadas.scautable.CsvIterator.

Reads a CSV present in the current compiler working directory resources and returns a io.github.quafadas.scautable.CsvIterator.

Note that in most cases, this is not the same as the current runtime working directory, and you are likely to get the bloop server directory.

Hopefully, useful in almond notebooks.

Example:

 val csv: CsvIterator[("colA", "colB", "colC")] = CSV.pwd("file.csv")

Attributes

val rand: Random
transparent inline def resource[T](inline path: String, inline headers: HeaderOptions): CsvIterator[_ <: Tuple]
Exported from CSV
transparent inline def resource[T](inline path: String): CsvIterator[_]
Exported from CSV

Reads a CSV present in java resources and returns a io.github.quafadas.scautable.CsvIterator.

Reads a CSV present in java resources and returns a io.github.quafadas.scautable.CsvIterator.

Example:

 val csv: CsvIterator[("colA", "colB", "colC")] = CSV.resource("file.csv")

Attributes

transparent inline def resource[K](filePath: String, sheetName: String, range: String): ExcelIterator[_]
Exported from Excel
final val scautable: scautable
Exported from scautable
transparent inline def url[T](inline path: String, inline headers: HeaderOptions): CsvIterator[_ <: Tuple]
Exported from CSV
transparent inline def url[T](inline path: String): CsvIterator[_]
Exported from CSV

Saves a URL to a local CSV returns a io.github.quafadas.scautable.CsvIterator.

Saves a URL to a local CSV returns a io.github.quafadas.scautable.CsvIterator.

Example:

 val csv: CsvIterator[("colA", "colB", "colC")] = CSV.url("https://somewhere.com/file.csv")

Attributes