官术网_书友最值得收藏!

  • Learning Spark SQL
  • Aurobindo Sarkar
  • 97字
  • 2021-07-02 18:23:50

Computing basic statistics and aggregations

Next, compute and display some basic statistics for the numeric columns in the DataFrame to get a feel for the data, we will be working with.

We can also display the basic statistics for some or all of the columns rounded to four decimal places. We can also rename each of the columns by prefixing a r to the column names to differentiate them from the original column names.

In addition, we count the distinct number of days, for which the data is contained in the DataFrame using an aggregation function:

主站蜘蛛池模板: 雅江县| 明光市| 高台县| 吉林市| 鹿邑县| 三明市| 浦城县| 桓仁| 扶风县| 收藏| 泰顺县| 浮山县| 镇安县| 辽宁省| 萨迦县| 台安县| 长宁县| 广饶县| 成安县| 中西区| 运城市| 托克托县| 新郑市| 临汾市| 诸城市| 龙游县| 东辽县| 云南省| 绿春县| 盐边县| 乌兰察布市| 义乌市| 郑州市| 东乡县| 阿瓦提县| 陈巴尔虎旗| 都兰县| 常山县| 宁化县| 应城市| 延长县|