(expr)
Yu Wenpei.
From: Kevin Mellott
To: Wen Pei Yu
Cc: user
Date: 03/24/2017 09:48 AM
Subject:Re: Aggregated column name
I'm not sure of the answer to your question; however, when performing
aggregates I find it useful to specify an aliasĀ for each column. That
I'm not sure of the answer to your question; however, when performing
aggregates I find it useful to specify an *alias* for each column. That
will give you explicit control over the name of the resulting column.
In your example, that would look something like:
df.groupby(col("...")).agg(count("nu