You make a function to extract the first three letters of your string in a new field and group by on that field.
2014-08-07 23:50 GMT+09:00 Josh J <[email protected]>: > Hi, > > I would like to customize the trident groupby, so that the tuples are > grouped by a customized function (e.g. first three letters of the string). > How can I customize the behavior of groupby? > > Thanks, > Josh >
