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: 

conversion of code from scala to python

vanshikagupta
New Contributor II

does databricks community edition provides with databricks ML visualization for pyspark, just the same as provided in this link for scala. https://docs.azuredatabricks.net/_static/notebooks/decision-trees.html

also please help me to convert this line of code to python as i am new to python and have no knowledge of scala. "val tree = model.stages.last.asInstanceOf[DecisionTreeClassificationModel]

display(tree)"

Thank you in advance!

2 REPLIES 2

miklos
Contributor

Yes, CE supports it.

It isn't supported in python yet.

Thank you! but just a small query, i read in a post of 2015 that the visualizations are not supported in python, but uptill now should'nt pyspark support them?

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!