So I think https://cwiki.apache.org/confluence/display/SPARK/Spark+Code+Style+Guide#SparkCodeStyleGuide-InfixMethods suggests that I do 1.to instead of 1 to. What do you think?