Short utility functions, that I found useful when working with Spark.
In case you have different precision in data coming from different sources (for instance), and you need to quickly go through whole dataframe, rounding Double columns to certain precision.