We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c712d2d commit 3ecf4d0Copy full SHA for 3ecf4d0
sparksql/src/main/scala/org/dianahep/histogrammar/sparksql.scala
@@ -135,6 +135,8 @@ package sparksql.pyspark {
135
class AggregatorConverter {
136
type Agg = C forSome {type C <: Container[C] with Aggregation{type Datum >: Row}}
137
138
+ def histogrammar[CONTAINER <: Container[CONTAINER] with Aggregation{type Datum = Row}](df: DataFrame, container: CONTAINER) = df.histogrammar(container)(ClassTag(container.getClass))
139
+
140
def Average(quantity: Column) = org.dianahep.histogrammar.Average[Row](quantity)
141
142
def Bag(quantity: Column, range: String) = range match {
0 commit comments