
上QQ阅读APP看书,第一时间看更新
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:
