[SPARK-2871] [PySpark] Add missing API

Try to bring all Java/Scala API to PySpark.
Actually I guess you remove the batching, but still, it's not super clear that countApproxDistinct will work on byte arrays.