read

internal fun DataFrame.Companion.read(stream: InputStream, format: SupportedDataFrameFormat? = null, header: List<String> = emptyList(), formats: List<SupportedDataFrameFormat> = supportedFormats.filterIsInstance<SupportedDataFrameFormat>()): ReadAnyFrame
internal fun DataFrame.Companion.read(path: Path, format: SupportedDataFrameFormat? = null, header: List<String> = emptyList(), formats: List<SupportedDataFrameFormat> = supportedFormats.filterIsInstance<SupportedDataFrameFormat>()): ReadAnyFrame


fun DataFrame.Companion.read(fileOrUrl: String, delimiter: Char, header: List<String> = listOf(), colTypes: Map<String, ColType> = mapOf(), skipLines: Int = 0, readLines: Int? = null, duplicate: Boolean = true, charset: Charset = Charsets.UTF_8): DataFrame<*>

Deprecated (with error)

This function is deprecated and should be replaced with `readCsv`. Will be ERROR in 1.0.

Replace with

import org.jetbrains.kotlinx.dataframe.io.readCsv
this.readCsv(fileOrUrl = fileOrUrl, delimiter = delimiter, header = header, colTypes = colTypes, skipLines = skipLines, readLines = readLines, allowMissingColumns = duplicate, parserOptions = parserOptions)

fun DataFrame.Companion.read(file: File, header: List<String> = emptyList()): AnyFrame
fun DataFrame.Companion.read(url: URL, header: List<String> = emptyList()): AnyFrame
fun DataFrame.Companion.read(path: String, header: List<String> = emptyList()): AnyFrame
fun DataFrame.Companion.read(path: Path, header: List<String> = emptyList()): AnyFrame

Deprecated (with error)

This function is deprecated in favor of the IO-specific functions, like `DataFrame.readCsv()`, and `DataFrame.readJson()`. Will be ERROR in 1.0.


fun DataRow.Companion.read(file: File, header: List<String> = emptyList()): AnyRow
fun DataRow.Companion.read(url: URL, header: List<String> = emptyList()): AnyRow
fun DataRow.Companion.read(path: String, header: List<String> = emptyList()): AnyRow
fun DataRow.Companion.read(path: Path, header: List<String> = emptyList()): AnyRow

Deprecated (with error)

This function is deprecated in favor of the IO-specific functions, like `DataRow.readJson()`, and `DataFrame.readCsv().single()`. Will be ERROR in 1.0.