adapters

package
v0.0.0-...-da1d25d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeDataset

func AnalyzeDataset(headers []string, data [][]string) backend.Headers

func LoadCSV

func LoadCSV(path string, delimiter rune) dataframe.Dataframe

func LoadCSVWithHeaders

func LoadCSVWithHeaders(path string, delimiter rune, headers backend.Headers) dataframe.Dataframe

func LoadSQL

func LoadSQL(rows *sql.Rows) dataframe.Dataframe

func LoadStructs

func LoadStructs(structsArray interface{}, tag string) dataframe.Dataframe

func ReadCsv

func ReadCsv(content []byte, delimiter rune) dataframe.Dataframe

func ReadCsvWithHeaders

func ReadCsvWithHeaders(content []byte, delimiter rune, headers backend.Headers) dataframe.Dataframe

func WriteCSV

func WriteCSV(outPath string, df dataframe.Dataframe, delimiter rune)

func WriteSQL

func WriteSQL(tableName string, df dataframe.Dataframe, db *sql.DB, batchSize int)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL