Skip to content

Commit

Permalink
Fix precision in tests, closes #910
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed May 15, 2024
1 parent c64b05c commit e04de51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/explorer/data_frame.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5397,10 +5397,10 @@ defmodule Explorer.DataFrame do
dataframes:
iex> df = Explorer.Datasets.iris()
iex> Explorer.DataFrame.summarise(df, mean_petal_length: mean(petal_length))
iex> Explorer.DataFrame.summarise(df, mean_petal_length: round(mean(petal_length), 2))
#Explorer.DataFrame<
Polars[1 x 1]
mean_petal_length f64 [3.758666666666666]
mean_petal_length f64 [3.76]
>
"""
Expand Down

0 comments on commit e04de51

Please sign in to comment.