Skip to content

Commit

Permalink
stay in elixir for count/1
Browse files Browse the repository at this point in the history
Co-authored-by: lkarthee <lkarthee@users.noreply.github.com>
  • Loading branch information
billylanchantin and lkarthee authored Feb 2, 2024
1 parent faad190 commit 77cbe56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/explorer/polars_backend/series.ex
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ defmodule Explorer.PolarsBackend.Series do
# Aggregation

@impl true
def count(series), do: Shared.apply_series(series, :s_count)
def count(series), do: size(series) - nil_count(series)

@impl true
def nil_count(series), do: Shared.apply_series(series, :s_nil_count)
Expand Down

0 comments on commit 77cbe56

Please sign in to comment.