godf

package module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoCast

func AutoCast(data interface{}) any

func CastArrayFloat64

func CastArrayFloat64(data interface{}) []float64

func CastArrayInt

func CastArrayInt(data interface{}) []int

func CastArrayString

func CastArrayString(data interface{}) []string

func CastFloat64

func CastFloat64(data interface{}) float64

func CastHeaders

func CastHeaders(headers []string) []interface{}

func CastInt

func CastInt(data interface{}) int

func CastString

func CastString(data interface{}) string

func DataFrame

func DataFrame(data map[string]interface{}) *dataframe

DataFrame initializes and returns a dataframe

This function takes a map[string]interface{} as a variable where the string will be the header name and the interface{} will be the contained data

Returns a pointer to the dataframe

func ReadCSV

func ReadCSV(filename string) *dataframe

Types

This section is empty.

Jump to

Keyboard shortcuts

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