> ts.groupBy("b").count().orderBy(col("count"), ascending=False)
Sent from my iPhone
> On Jul 30, 2016, at 2:54 PM, Don Drake wrote:
>
> Try:
>
> ts.groupBy("b").count().orderBy(col("count").desc());
>
> -Don
>
>> On Sat, Jul 30, 2016 at 1:30 PM, Tony Lane wrote:
>> just to clarify I am try
Try:
ts.groupBy("b").count().orderBy(col("count").desc());
-Don
On Sat, Jul 30, 2016 at 1:30 PM, Tony Lane wrote:
> just to clarify I am try to do this in java
>
> ts.groupBy("b").count().orderBy("count");
>
>
>
> On Sun, Jul 31, 2016 at 12:00 AM, Tony Lane
> wrote:
>
>> ts.groupBy("b").count
just to clarify I am try to do this in java
ts.groupBy("b").count().orderBy("count");
On Sun, Jul 31, 2016 at 12:00 AM, Tony Lane wrote:
> ts.groupBy("b").count().orderBy("count");
>
> how can I order this data in descending order of count
> Any suggestions
>
> -Tony
>
ts.groupBy("b").count().orderBy("count");
how can I order this data in descending order of count
Any suggestions
-Tony