Suggestion: add a snippet for histogram of a class label column

#1
by julien-c HF staff - opened
julien-c changed discussion title from Suggestion: snippet for histogram of a class label column to Suggestion: add a snippet for histogram of a class label column

(just trying the "Submit a new SQL snippet" flow lol)

The histogram feature is part of duckdb 1.1.0 which SQL Console isn't currently upgraded to yet. But should be soon
https://duckdb.org/2024/09/09/announcing-duckdb-110.html#friendly-sql

the histogram function is part of the snippets https://cfahlgren1-sql-snippets.hf.space/histogram

and it's super easy to use ๐Ÿ˜
image.png

cfahlgren1 changed discussion status to closed

You can even specify binning techniques ๐Ÿคฏ

image.png

Sign up or log in to comment