:DF function
https://spark.apache.org/docs/latest/api/scala/index.html#org.apache.spark.sql.functions$
:参考
https://jaceklaskowski.gitbooks.io/mastering-apache-spark/content/spark-sql-windows.html
https://databricks.com/blog/2015/07/15/introducing-window-functions-in-spark-sql.html
https://databricks.com/blog/2015/02/17/introducing-dataframes-in-spark-for-large-scale-data-science.html
https://databricks.com/blog/2015/08/12/from-pandas-to-apache-sparks-dataframe.html
https://databricks.com/blog/2015/09/16/spark-1-5-dataframe-api-highlights-datetimestring-handling-time-intervals-and-udafs.html
https://databricks.com/blog/2015/06/02/statistical-and-mathematical-functions-with-dataframes-in-spark.html
https://lab.getbase.com/pandarize-spark-dataframes/
http://www.iteblog.com/archives/1382