Desc DescIndex performs aggregation using standard statistics across all splits, and stores results in the Splits. Column is specified by index.
(spl *table.Splits, colIndex int)
| 67 | // DescIndex performs aggregation using standard statistics across |
| 68 | // all splits, and stores results in the Splits. Column is specified by index. |
| 69 | func DescIndex(spl *table.Splits, colIndex int) { |
| 70 | dt := spl.Table() |
| 71 | if dt == nil { |
| 72 | return |
| 73 | } |
| 74 | col := dt.Columns[colIndex] |
| 75 | sts := stats.DescStats |
| 76 | if col.NumDims() > 1 { // nd cannot do qiles |
| 77 | sts = stats.DescStatsND |
| 78 | } |
| 79 | for _, st := range sts { |
| 80 | AggIndex(spl, colIndex, st) |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | // DescColumn performs aggregation using standard statistics across |
| 85 | // all splits, and stores results in the Splits. |
no test coverage detected