dvgodoy / handyspark

HandySpark - bringing pandas-like capabilities to Spark dataframes
MIT License
185 stars 23 forks source link

Request for new feature: Quantile based discretization: pandas.qcut() #5

Closed hvsarma closed 2 years ago

hvsarma commented 5 years ago

Really awesome work. Requesting to add qcut() method to 'handy'. https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.qcut.html Much appreciated.

dvgodoy commented 5 years ago

Thanks! I will keep it in mind for future developments. In the meantime, you still can achieve the same results using Spark's QuantileDiscretizer. https://spark.apache.org/docs/2.3.1/ml-features.html#quantilediscretizer