View Source Explorer.Backend.Series behaviour (Explorer v0.1.0)
The behaviour for series backends.
Link to this section Summary
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__: atom()}
Link to this section Callbacks
@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 rolling_max(s(), window_size :: integer(), [rolling_option()]) :: s()
@callback rolling_mean(s(), window_size :: integer(), [rolling_option()]) :: s()
@callback rolling_min(s(), window_size :: integer(), [rolling_option()]) :: s()
@callback rolling_sum(s(), window_size :: integer(), [rolling_option()]) :: s()