[SPARK-2871] [PySpark] Add missing API

Try to bring all Java/Scala API to PySpark.
Change it to uptime will not improve anything, or remove it?