EAPExprNamespace.ntile

eap_pl.EAPExprNamespace.ntile(n)

Assign observations to n approximately equal-sized buckets.

This mirrors the common SQL/R ntile idea and is typically used with .over(...) to create within-group deciles, quintiles, and similar ranked portfolios. Null values remain null and are excluded when bucket sizes are calculated.