dataframe-0.3.3.2: A fast, safe, and intuitive DataFrame library.
Safe HaskellNone
LanguageHaskell2010

DataFrame.Internal.DataFrame

Synopsis

Documentation

data DataFrame Source #

Constructors

DataFrame 

Fields

Instances

Instances details
Monoid DataFrame Source # 
Instance details

Defined in DataFrame.Operations.Merge

Semigroup DataFrame Source #

Vertically merge two dataframes using shared columns. Columns that exist in only one dataframe are padded with Nothing.

Instance details

Defined in DataFrame.Operations.Merge

Show DataFrame Source # 
Instance details

Defined in DataFrame.Internal.DataFrame

Eq DataFrame Source # 
Instance details

Defined in DataFrame.Internal.DataFrame

data GroupedDataFrame Source #

A record that contains information about how and what rows are grouped in the dataframe. This can only be used with aggregate.

toMarkdownTable :: DataFrame -> Text Source #

For showing the dataframe as markdown in notebooks.

empty :: DataFrame Source #

O(1) Creates an empty dataframe

toMatrix :: DataFrame -> Either DataFrameException (Vector (Vector Float)) Source #

Returns a dataframe as a two dimentions vector of floats.

All entries in the dataframe must be doubles. This is useful for handing data over into ML systems.

columnAsVector :: Columnable a => Text -> DataFrame -> Vector a Source #

Get a specific column as a vector.

You must specify the type via type applications.