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!