Dataframe groupby custom functions (python)

2015-03-24 Thread jamborta
to to something similar with aggregates? Something like this: gdf = df.groupBy(df.name) gdf.agg(slen(df.age)).collect() thanks, -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Dataframe-groupby-custom-functions-python-tp22205.html Sent from the Apache Spark

Re: Dataframe groupby custom functions (python)

2015-03-24 Thread Michael Armbrust
this: gdf = df.groupBy(df.name) gdf.agg(slen(df.age)).collect() thanks, -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Dataframe-groupby-custom-functions-python-tp22205.html Sent from the Apache Spark User List mailing list archive at Nabble.com