databricks.koalas has no attribute 'qcut' for decile

Viewed 163

I am using koalas in databricks and trying to decile the data.

Therefore I used

df['Decile']= ks.qcut(df['Id'], q = 10, labels = False)

I am getting AttributeError: module 'databricks.koalas' has no attribute 'qcut'

Is there a work around?

1 Answers
Related