Description

A data sources that reads from text lines.

Parameters

Name Description Type Required? Default Value
filePath File path String
ignoreFirstLine Whether to ignore first line of csv file. Boolean false
textCol Text Column Name String “text”

Script Example

Code

  1. URL = "https://alink-release.oss-cn-beijing.aliyuncs.com/data-files/iris.csv"
  2. data = TextSourceBatchOp().setFilePath(URL).setTextCol("text")
  3. data.print()