SPARK-1162 Added top in python.