analyze-0.1.0.0: making data science easy and safe with data frames

Safe HaskellNone
LanguageHaskell2010

Analyze.Csv

Description

Functions for working with CSV files.

Synopsis

Documentation

decodeWithHeader :: MonadThrow m => ByteString -> m (RFrame Text Text) Source #

Decode CSV bytes as an RFrame with a header row.

decodeWithoutHeader :: MonadThrow m => ByteString -> m (RFrame Int Text) Source #

Decode CSV bytes as an RFrame without a header row.

encodeWithHeader :: RFrame Text Text -> ByteString Source #

Encode an RFrame as CSV bytes with a header row.

encodeWithoutHeader :: RFrame k Text -> ByteString Source #

Encode an RFrame as CSV bytes without header row.