Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Percentiles for describe #454

Merged

Conversation

ghost
Copy link

@ghost ghost commented Dec 28, 2022

No description provided.

@@ -4443,10 +4444,10 @@ defmodule Explorer.DataFrame do
"""
@doc type: :single
@spec describe(df :: DataFrame.t()) :: DataFrame.t()
def describe(df) do
def describe(df, percentiles \\ @default_percentiles) do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make this an option, as we will likely have other percentiles in the future!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note we only need to make it an option here. It does not have to be an option in the behaviour.

Cristine Guadelupe added 2 commits December 28, 2022 15:42
Copy link
Member

@philss philss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@josevalim josevalim merged commit c7c0146 into elixir-explorer:main Dec 28, 2022
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

liamdiprose pushed a commit to liamdiprose/explorer that referenced this pull request Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants