In a vanilla dataframe, I can do this df[ :a ] = mydarray It doesn't seem to allow me to do the same for a subdataframe returned by a groupby.
I'm trying to compute a new column based on the subdataframe, attach this column to it and then do further groupby. Is there a way to do that? Tony
