View Source Explorer.Backend.Series behaviour (Explorer v0.2.0)
The behaviour for series backends.
Link to this section Summary
Functions
Default inspect implementation for backends.
Link to this section Types
@type df() :: Explorer.DataFrame.t()
@type dtype() :: :integer | :float | :boolean | :string | :date | :datetime
@type s() :: Explorer.Series.t()
@type t() :: struct()
Link to this section Callbacks
@callback inspect(s(), opts :: Inspect.Opts.t()) :: Inspect.Algebra.t()
@callback max(s()) :: number() | Date.t() | NaiveDateTime.t()
@callback min(s()) :: number() | Date.t() | NaiveDateTime.t()
@callback quantile(s(), float()) :: number() | Date.t() | NaiveDateTime.t()
@callback to_enum(s()) :: Enumerable.t()
@callback window_max(s(), window_size :: integer(), [window_option()]) :: s()
@callback window_mean(s(), window_size :: integer(), [window_option()]) :: s()
@callback window_min(s(), window_size :: integer(), [window_option()]) :: s()
@callback window_sum(s(), window_size :: integer(), [window_option()]) :: s()
Link to this section Functions
Default inspect implementation for backends.