Spark context not implemented Error when using Databricks connect

MightyMasdo
New Contributor III

I am developing an application using databricks connect and when I try to use VectorAssembler I get the Error sc is not none Assertion Error. is there a workaround for this ?