Which MLlib library am I supposed to use - pyspark.mllib or pyspark.ml?

User16826992666
Databricks Employee
Databricks Employee

Both of these libraries seem to be available and they are both for MLlib, how do I know which one to use?