Use correct random choice function in code snippet
Use correct random choice function in code snippet

A hidden code snippet uses `tm.choice()` when it should use
`np.random.choice()`

Author: Chris Carroux <carroux@users.noreply.github.com>

Closes #12384 from carroux/patch-1 and squashes the following commits:

8babbdc [Chris Carroux] Use correct random choice function in code snippet

cbertinato/pandas,jmmease/pandas,amolkahat/pandas,jreback/pandas,dsm054/pandas,linebp/pandas,nmartensen/pandas,cython-testbed/pandas,winklerand/pandas,MJuddBooth/pandas,dsm054/pandas,GuessWhoSamFoo/pandas,nmartensen/pandas,MJuddBooth/pandas,GuessWhoSamFoo/pandas,linebp/pandas,jmmease/pandas,cython-testbed/pandas,nmartensen/pandas,winklerand/pandas,cython-testbed/pandas,jmmease/pandas,pratapvardhan/pandas,pandas-dev/pandas,DGrady/pandas,datapythonista/pandas,DGrady/pandas,harisbal/pandas,winklerand/pandas,amolkahat/pandas,GuessWhoSamFoo/pandas,rs2/pandas,pandas-dev/pandas,TomAugspurger/pandas,zfrenchee/pandas,amolkahat/pandas,DGrady/pandas,linebp/pandas,pratapvardhan/pandas,Winand/pandas,cython-testbed/pandas,cbertinato/pandas,winklerand/pandas,louispotok/pandas,dsm054/pandas,datapythonista/pandas,gfyoung/pandas,Winand/pandas,DGrady/pandas,harisbal/pandas,cython-testbed/pandas,toobaz/pandas,kdebrab/pandas,jreback/pandas,nmartensen/pandas,rs2/pandas,TomAugspurger/pandas,jmmease/pandas,kdebrab/pandas,zfrenchee/pandas,pratapvardhan/pandas,jorisvandenbossche/pandas,gfyoung/pandas,gfyoung/pandas,pratapvardhan/pandas,jorisvandenbossche/pandas,toobaz/pandas,harisbal/pandas,kdebrab/pandas,winklerand/pandas,kdebrab/pandas,pandas-dev/pandas,jmmease/pandas,toobaz/pandas,nmartensen/pandas,pandas-dev/pandas,cbertinato/pandas,jreback/pandas,GuessWhoSamFoo/pandas,datapythonista/pandas,Winand/pandas,jorisvandenbossche/pandas,winklerand/pandas,MJuddBooth/pandas,gfyoung/pandas,cbertinato/pandas,harisbal/pandas,zfrenchee/pandas,amolkahat/pandas,GuessWhoSamFoo/pandas,kdebrab/pandas,louispotok/pandas,zfrenchee/pandas,Winand/pandas,louispotok/pandas,DGrady/pandas,jreback/pandas,dsm054/pandas,linebp/pandas,gfyoung/pandas,linebp/pandas,louispotok/pandas,cbertinato/pandas,rs2/pandas,linebp/pandas,dsm054/pandas,DGrady/pandas,pratapvardhan/pandas,datapythonista/pandas,jorisvandenbossche/pandas,harisbal/pandas,jmmease/pandas,nmartensen/pandas,Winand/pandas,zfrenchee/pandas,MJuddBooth/pandas,jreback/pandas,rs2/pandas,toobaz/pandas,amolkahat/pandas,MJuddBooth/pandas,Winand/pandas,TomAugspurger/pandas,TomAugspurger/pandas,louispotok/pandas,toobaz/pandas