htmlreader

package
v0.0.0-...-b595fe3 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	// contains filtered or unexported fields
}

Functions

func Read

func Read(r io.Reader, options ...ConfigOption) []df.DataFrame

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

type ConfigOption

type ConfigOption func(*Config)

ConfigOption is the type used to configure the load of elements

func DefaultType

func DefaultType(t series.ElementType) ConfigOption

DefaultType sets the defaultType option for loadOptions.

func DetectTypes

func DetectTypes(b bool) ConfigOption

DetectTypes sets the detectTypes option for loadOptions.

func HasHeader

func HasHeader(b bool) ConfigOption

HasHeader sets the hasHeader option for loadOptions.

func NaNValues

func NaNValues(nanValues []string) ConfigOption

NaNValues sets the nanValues option for loadOptions.

func Names

func Names(names ...string) ConfigOption

Names sets the names option for loadOptions.

func WithTypes

func WithTypes(coltypes map[string]series.ElementType) ConfigOption

WithTypes sets the types option for loadOptions.

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func New

func New(r io.Reader, options ...ConfigOption) *Reader

func (*Reader) Read

func (r *Reader) Read() []df.DataFrame

Jump to

Keyboard shortcuts

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