View Source Explorer.Backend.DataFrame behaviour (Explorer v0.1.0)
The behaviour for DataFrame backends.
Link to this section Summary
Link to this section Types
@type colname() :: String.t()
@type df() :: Explorer.DataFrame.t()
@type result(t) :: {:ok, t} | {:error, term()}
@type series() :: Explorer.Series.t()
@type t() :: %{__struct__: atom()}
Link to this section Callbacks
Link to this callback
read_csv( filename, names, dtypes, delimiter, null_character, skip_rows, header?, encoding, max_rows, with_columns, infer_schema_length, parse_dates )
View Source@callback read_csv( filename :: String.t(), names :: [String.t()] | nil, dtypes :: [{String.t(), atom()}] | nil, delimiter :: String.t(), null_character :: String.t(), skip_rows :: integer(), header? :: boolean(), encoding :: String.t(), max_rows :: integer() | Inf, with_columns :: [String.t()] | nil, infer_schema_length :: integer() | nil, parse_dates :: boolean() ) :: result(df())