Update groupby.rst
Fixed typo (replaced tm with np.random as there is no tm module in this doc) so that the choice method at line 220 will work. @ellisonbg

this was just merged in #12384 

but would love help on #12385 
