csvIO

package module
v0.0.0-...-187d705 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data2D

type Data2D struct {
	Xtitle string
	Ytitle string
	Xdata  []float64
	Ydata  []float64
}

func CreateData2D

func CreateData2D() *Data2D

func (*Data2D) ReadCsv

func (data2D *Data2D) ReadCsv(filepath string)

csv文件读取

func (*Data2D) WriteCSV

func (data *Data2D) WriteCSV(path string)

csv文件写入

type Data2DfromRow

type Data2DfromRow struct {
	Data2D
	// contains filtered or unexported fields
}

func CreateData2DfromRow

func CreateData2DfromRow(k int) *Data2DfromRow

func (*Data2DfromRow) ReadCsv

func (data *Data2DfromRow) ReadCsv(filepath string)

type DataMethod

type DataMethod interface {
	ReadCsv()
}

type File

type File struct {
	Name string
}

func (*File) GetFilename

func (file *File) GetFilename()

Jump to

Keyboard shortcuts

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