Fixed annoying float/int py2/py3 incompat
Fixed annoying float/int py2/py3 incompat

vlad17/spark-sklearn,databricks/spark-sklearn,vlad17/spark-sklearn,vlad17/spark-sklearn,vlad17/spark-sklearn,databricks/spark-sklearn