HNumeric-0.3.3.0: Haskell Numeric Library with pure functionality, R & MATLAB Syntax.

Copyright(c) Tae Geun Kim 2018
LicenseBSD3
Maintaineredeftg@gmail.com
StabilityExperimental
Safe HaskellSafe
LanguageHaskell2010

HNum.CSV

Description

 

Synopsis

Documentation

type Header = [String] Source #

Type Aliases for convenience

data DataFrame a Source #

DataFrame structure to write csv

Constructors

DataFrame 

Fields

Instances

Functor DataFrame Source # 

Methods

fmap :: (a -> b) -> DataFrame a -> DataFrame b #

(<$) :: a -> DataFrame b -> DataFrame a #

Writable DataFrame Source # 

Methods

toString :: Show a => DataFrame a -> String Source #

writeCSV :: Show a => String -> DataFrame a -> IO () Source #

Eq a => Eq (DataFrame a) Source # 

Methods

(==) :: DataFrame a -> DataFrame a -> Bool #

(/=) :: DataFrame a -> DataFrame a -> Bool #

Show a => Show (DataFrame a) Source # 

dataframe :: Header -> Matrix a -> DataFrame a Source #

dataframe constructor

fromVectors :: Header -> [Vector a] -> DataFrame a Source #

dataframe from vectors

class Functor f => Writable f where Source #

Class to write csv file

Minimal complete definition

toString, writeCSV

Methods

toString :: Show a => f a -> String Source #

Object to String (Different to Show)

writeCSV :: Show a => String -> f a -> IO () Source #

Write as CSV

Instances

readCSV :: String -> IO (DataFrame String) Source #

From CSV to DataFrame

cm :: [String] -> String Source #

For Convenient

splitWith :: Char -> String -> [String] Source #

Split With Seperator

rmQuot :: String -> String Source #

Remove Quotation Symbol