cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

QuantileDiscretizer is not whiteliested erro!!

sandeephenkel23
New Contributor II

Dear Team,

We observed that while attempting to use the following import:

from pyspark.sql import functions as F

from pyspark.ml.feature import QuantileDiscretizer

we are encountering the following error:

Py4JSecurityException: QuantileDiscretizer is not whitelisted.

This suggests that the QuantileDiscretizer class is restricted due to security policies within the current environment. Could you kindly advise on how to proceed

1 REPLY 1

VZLA
Databricks Employee
Databricks Employee

@sandeephenkel23 in which DBR release or environment are you facing this?

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group