You are viewing documentation about an older version (1.2.0). View latest version

snowflake.snowpark.functions.ntile

snowflake.snowpark.functions.ntile(e: int | ColumnOrName) Column[source]

Divides an ordered data set equally into the number of buckets specified by n. Buckets are sequentially numbered 1 through n.

Parameters:

e – The desired number of buckets; must be a positive integer value.