databricks.koalas has no attribute 'qcut' for decile

前端 未结 0 898
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-27 06:57

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题