packages feed

dataframe-core-2.6.0.0: src/DataFrame/Core.hs

-- | The curated public surface of dataframe-core: types, constraints, verbs.
module DataFrame.Core (
    -- * The DataFrame
    DataFrame,
    GroupedDataFrame,
    empty,
    fromColumns,
    (=:),
    insertColumn,
    columnNames,
    null,

    -- * Columns
    Column,
    fromList,
    fromVector,
    fromUnboxedVector,
    mkRandom,
    toList,
    toVector,
    hasElemType,
    hasMissing,
    isNumeric,

    -- * Element constraints
    Columnable,
    Columnable',

    -- * Rows
    Row,
    Any,
    toAny,
    fromAny,
    rowValue,
    toRowList,
    toRowVector,

    -- * Expressions
    Expr,
    NamedExpr,
    toNamedExpr,
    toSomeExpr,
    fromSomeExpr,
    eSize,
    prettyPrint,
    prettyPrintWidth,

    -- * Rendering & serialization
    TruncateConfig (..),
    defaultTruncateConfig,
    toCsv,
    toCsv',
    toSeparated,
    toMarkdown,
    toMarkdown',
) where

import Prelude hiding (null)

import DataFrame.Internal.Column (
    Column,
    Columnable,
    fromList,
    fromUnboxedVector,
    fromVector,
    hasElemType,
    hasMissing,
    isNumeric,
    mkRandom,
    toList,
    toVector,
 )
import DataFrame.Internal.Column.Types (Columnable')
import DataFrame.Internal.DataFrame (
    DataFrame,
    GroupedDataFrame,
    TruncateConfig (..),
    columnNames,
    defaultTruncateConfig,
    empty,
    fromColumns,
    insertColumn,
    null,
    toCsv,
    toCsv',
    toMarkdown,
    toMarkdown',
    toSeparated,
    (=:),
 )
import DataFrame.Internal.Expression (
    Expr,
    NamedExpr,
    eSize,
    fromSomeExpr,
    prettyPrint,
    prettyPrintWidth,
    toNamedExpr,
    toSomeExpr,
 )
import DataFrame.Internal.Row (
    Any,
    Row,
    fromAny,
    rowValue,
    toAny,
    toRowList,
    toRowVector,
 )