Function readCSV

  • Read a CSV file or string into a Dataframe.


    Parameters

    • pathOrBody: string | Buffer

      path or buffer or string

      • path: Path to a file or a file like string. Any valid filepath can be used. Example: file.csv.
      • body: String or buffer to be read as a CSV
    • Optionaloptions: Partial<ReadCsvOptions>

    Returns pl.DataFrame

    DataFrame