BUG: stats: Fix ValueError message in chi2_contingency.
BUG: stats: Fix ValueError message in chi2_contingency.

chi2_contingency raises a ValueError when a zero occurs in the
table of expected frequencies.  The exception message includes
the position of the zero, but the code that figured out that
position was incorrect.

nvoron23/scipy,minhlongdo/scipy,jjhelmus/scipy,newemailjdm/scipy,efiring/scipy,giorgiop/scipy,hainm/scipy,fernand/scipy,pschella/scipy,raoulbq/scipy,Gillu13/scipy,Kamp9/scipy,pschella/scipy,mingwpy/scipy,jonycgn/scipy,hainm/scipy,jonycgn/scipy,sonnyhu/scipy,ortylp/scipy,pbrod/scipy,ales-erjavec/scipy,lukauskas/scipy,futurulus/scipy,kleskjr/scipy,nonhermitian/scipy,josephcslater/scipy,andim/scipy,WarrenWeckesser/scipy,rgommers/scipy,minhlongdo/scipy,grlee77/scipy,Srisai85/scipy,jor-/scipy,piyush0609/scipy,zerothi/scipy,anntzer/scipy,raoulbq/scipy,bkendzior/scipy,zerothi/scipy,vanpact/scipy,mhogg/scipy,vhaasteren/scipy,sauliusl/scipy,witcxc/scipy,sriki18/scipy,mortonjt/scipy,jakevdp/scipy,matthewalbani/scipy,gertingold/scipy,gfyoung/scipy,lukauskas/scipy,jsilter/scipy,e-q/scipy,newemailjdm/scipy,andim/scipy,pizzathief/scipy,endolith/scipy,jor-/scipy,Dapid/scipy,Newman101/scipy,e-q/scipy,woodscn/scipy,rmcgibbo/scipy,e-q/scipy,ndchorley/scipy,hainm/scipy,apbard/scipy,vberaudi/scipy,Kamp9/scipy,ortylp/scipy,perimosocordiae/scipy,mortada/scipy,perimosocordiae/scipy,Kamp9/scipy,newemailjdm/scipy,petebachant/scipy,kleskjr/scipy,pyramania/scipy,gdooper/scipy,anntzer/scipy,befelix/scipy,sauliusl/scipy,jakevdp/scipy,njwilson23/scipy,nonhermitian/scipy,gertingold/scipy,sonnyhu/scipy,ales-erjavec/scipy,rmcgibbo/scipy,kleskjr/scipy,bkendzior/scipy,chatcannon/scipy,andyfaff/scipy,petebachant/scipy,Dapid/scipy,andim/scipy,Eric89GXL/scipy,behzadnouri/scipy,nonhermitian/scipy,anntzer/scipy,kalvdans/scipy,njwilson23/scipy,tylerjereddy/scipy,WarrenWeckesser/scipy,zxsted/scipy,mhogg/scipy,larsmans/scipy,zerothi/scipy,mingwpy/scipy,jsilter/scipy,raoulbq/scipy,anielsen001/scipy,FRidh/scipy,fernand/scipy,gdooper/scipy,zerothi/scipy,felipebetancur/scipy,WillieMaddox/scipy,Kamp9/scipy,andyfaff/scipy,haudren/scipy,nmayorov/scipy,Gillu13/scipy,fernand/scipy,fredrikw/scipy,jsilter/scipy,aman-iitj/scipy,kleskjr/scipy,argriffing/scipy,jakevdp/scipy,zxsted/scipy,gfyoung/scipy,nvoron23/scipy,raoulbq/scipy,tylerjereddy/scipy,Kamp9/scipy,aeklant/scipy,jjhelmus/scipy,maciejkula/scipy,scipy/scipy,arokem/scipy,efiring/scipy,giorgiop/scipy,pnedunuri/scipy,mingwpy/scipy,surhudm/scipy,Eric89GXL/scipy,FRidh/scipy,Shaswat27/scipy,nvoron23/scipy,WarrenWeckesser/scipy,mdhaber/scipy,grlee77/scipy,minhlongdo/scipy,vanpact/scipy,pschella/scipy,lhilt/scipy,petebachant/scipy,mortonjt/scipy,Shaswat27/scipy,ortylp/scipy,mdhaber/scipy,zxsted/scipy,woodscn/scipy,haudren/scipy,piyush0609/scipy,sonnyhu/scipy,person142/scipy,josephcslater/scipy,maniteja123/scipy,kalvdans/scipy,endolith/scipy,hainm/scipy,jonycgn/scipy,pnedunuri/scipy,pbrod/scipy,richardotis/scipy,jor-/scipy,trankmichael/scipy,witcxc/scipy,niknow/scipy,Gillu13/scipy,pnedunuri/scipy,jseabold/scipy,perimosocordiae/scipy,Stefan-Endres/scipy,mortada/scipy,giorgiop/scipy,njwilson23/scipy,ortylp/scipy,Stefan-Endres/scipy,mdhaber/scipy,Dapid/scipy,rmcgibbo/scipy,woodscn/scipy,jor-/scipy,piyush0609/scipy,behzadnouri/scipy,witcxc/scipy,kalvdans/scipy,richardotis/scipy,arokem/scipy,jseabold/scipy,matthew-brett/scipy,pyramania/scipy,jseabold/scipy,ChanderG/scipy,chatcannon/scipy,sonnyhu/scipy,sauliusl/scipy,aman-iitj/scipy,FRidh/scipy,bkendzior/scipy,Srisai85/scipy,mhogg/scipy,pyramania/scipy,rmcgibbo/scipy,mdhaber/scipy,matthew-brett/scipy,person142/scipy,giorgiop/scipy,ilayn/scipy,nmayorov/scipy,apbard/scipy,ortylp/scipy,dominicelse/scipy,pnedunuri/scipy,vberaudi/scipy,Shaswat27/scipy,Gillu13/scipy,dch312/scipy,WillieMaddox/scipy,felipebetancur/scipy,ales-erjavec/scipy,efiring/scipy,sonnyhu/scipy,jsilter/scipy,pbrod/scipy,sriki18/scipy,ndchorley/scipy,zerothi/scipy,josephcslater/scipy,anielsen001/scipy,Shaswat27/scipy,felipebetancur/scipy,jakevdp/scipy,mikebenfield/scipy,cpaulik/scipy,niknow/scipy,arokem/scipy,Eric89GXL/scipy,futurulus/scipy,haudren/scipy,Newman101/scipy,felipebetancur/scipy,fredrikw/scipy,ndchorley/scipy,cpaulik/scipy,chatcannon/scipy,befelix/scipy,sriki18/scipy,kalvdans/scipy,bkendzior/scipy,niknow/scipy,vigna/scipy,pizzathief/scipy,cpaulik/scipy,jjhelmus/scipy,vberaudi/scipy,vhaasteren/scipy,mgaitan/scipy,matthew-brett/scipy,vhaasteren/scipy,jsilter/scipy,petebachant/scipy,mikebenfield/scipy,mingwpy/scipy,futurulus/scipy,matthewalbani/scipy,endolith/scipy,rgommers/scipy,ChanderG/scipy,aman-iitj/scipy,aarchiba/scipy,josephcslater/scipy,rgommers/scipy,haudren/scipy,lukauskas/scipy,Stefan-Endres/scipy,gdooper/scipy,surhudm/scipy,mdhaber/scipy,mtrbean/scipy,trankmichael/scipy,jor-/scipy,Shaswat27/scipy,argriffing/scipy,Newman101/scipy,futurulus/scipy,aman-iitj/scipy,mingwpy/scipy,woodscn/scipy,giorgiop/scipy,sriki18/scipy,chatcannon/scipy,argriffing/scipy,anntzer/scipy,minhlongdo/scipy,petebachant/scipy,efiring/scipy,lhilt/scipy,maciejkula/scipy,felipebetancur/scipy,hainm/scipy,maniteja123/scipy,behzadnouri/scipy,maciejkula/scipy,minhlongdo/scipy,petebachant/scipy,sriki18/scipy,gfyoung/scipy,apbard/scipy,vigna/scipy,jakevdp/scipy,surhudm/scipy,WillieMaddox/scipy,pnedunuri/scipy,mgaitan/scipy,e-q/scipy,fredrikw/scipy,chatcannon/scipy,mingwpy/scipy,trankmichael/scipy,jamestwebber/scipy,mortada/scipy,scipy/scipy,bkendzior/scipy,andim/scipy,mortonjt/scipy,vhaasteren/scipy,pnedunuri/scipy,ndchorley/scipy,argriffing/scipy,behzadnouri/scipy,zaxliu/scipy,haudren/scipy,efiring/scipy,lukauskas/scipy,trankmichael/scipy,gef756/scipy,haudren/scipy,josephcslater/scipy,sonnyhu/scipy,argriffing/scipy,WarrenWeckesser/scipy,hainm/scipy,pizzathief/scipy,Eric89GXL/scipy,Eric89GXL/scipy,aeklant/scipy,efiring/scipy,mortonjt/scipy,ndchorley/scipy,gef756/scipy,matthew-brett/scipy,maniteja123/scipy,Shaswat27/scipy,woodscn/scipy,fernand/scipy,vhaasteren/scipy,aman-iitj/scipy,jseabold/scipy,jamestwebber/scipy,chatcannon/scipy,mgaitan/scipy,Kamp9/scipy,mgaitan/scipy,mhogg/scipy,gdooper/scipy,pbrod/scipy,mtrbean/scipy,apbard/scipy,aeklant/scipy,cpaulik/scipy,mortada/scipy,mtrbean/scipy,richardotis/scipy,dch312/scipy,Dapid/scipy,kalvdans/scipy,piyush0609/scipy,scipy/scipy,behzadnouri/scipy,scipy/scipy,newemailjdm/scipy,perimosocordiae/scipy,ilayn/scipy,perimosocordiae/scipy,anntzer/scipy,maciejkula/scipy,aarchiba/scipy,Gillu13/scipy,fredrikw/scipy,ales-erjavec/scipy,mdhaber/scipy,pschella/scipy,perimosocordiae/scipy,ndchorley/scipy,lhilt/scipy,mgaitan/scipy,njwilson23/scipy,jonycgn/scipy,mhogg/scipy,larsmans/scipy,larsmans/scipy,mtrbean/scipy,mortonjt/scipy,maniteja123/scipy,mortada/scipy,dominicelse/scipy,WarrenWeckesser/scipy,aeklant/scipy,Srisai85/scipy,befelix/scipy,WillieMaddox/scipy,andim/scipy,raoulbq/scipy,nvoron23/scipy,gef756/scipy,kleskjr/scipy,aarchiba/scipy,niknow/scipy,newemailjdm/scipy,zaxliu/scipy,tylerjereddy/scipy,rgommers/scipy,pbrod/scipy,person142/scipy,vanpact/scipy,niknow/scipy,zaxliu/scipy,person142/scipy,Dapid/scipy,pyramania/scipy,ales-erjavec/scipy,piyush0609/scipy,arokem/scipy,woodscn/scipy,gdooper/scipy,felipebetancur/scipy,WillieMaddox/scipy,Srisai85/scipy,anielsen001/scipy,grlee77/scipy,mikebenfield/scipy,e-q/scipy,zaxliu/scipy,zxsted/scipy,lukauskas/scipy,jjhelmus/scipy,matthewalbani/scipy,jonycgn/scipy,WarrenWeckesser/scipy,jjhelmus/scipy,futurulus/scipy,anntzer/scipy,mtrbean/scipy,vanpact/scipy,apbard/scipy,ilayn/scipy,zaxliu/scipy,Gillu13/scipy,aarchiba/scipy,cpaulik/scipy,dominicelse/scipy,Newman101/scipy,andyfaff/scipy,gfyoung/scipy,giorgiop/scipy,trankmichael/scipy,nonhermitian/scipy,vberaudi/scipy,maciejkula/scipy,fernand/scipy,pyramania/scipy,FRidh/scipy,vberaudi/scipy,Srisai85/scipy,maniteja123/scipy,maniteja123/scipy,ilayn/scipy,lukauskas/scipy,nmayorov/scipy,nvoron23/scipy,sriki18/scipy,raoulbq/scipy,ilayn/scipy,vhaasteren/scipy,vberaudi/scipy,mhogg/scipy,anielsen001/scipy,njwilson23/scipy,gertingold/scipy,richardotis/scipy,mortada/scipy,tylerjereddy/scipy,piyush0609/scipy,vanpact/scipy,Stefan-Endres/scipy,Newman101/scipy,vigna/scipy,scipy/scipy,richardotis/scipy,larsmans/scipy,gertingold/scipy,aarchiba/scipy,behzadnouri/scipy,befelix/scipy,person142/scipy,fredrikw/scipy,ChanderG/scipy,anielsen001/scipy,Stefan-Endres/scipy,vigna/scipy,fredrikw/scipy,dch312/scipy,zxsted/scipy,FRidh/scipy,sauliusl/scipy,aeklant/scipy,Srisai85/scipy,jamestwebber/scipy,larsmans/scipy,WillieMaddox/scipy,mtrbean/scipy,mortonjt/scipy,mgaitan/scipy,Eric89GXL/scipy,nvoron23/scipy,gef756/scipy,andim/scipy,newemailjdm/scipy,Newman101/scipy,mikebenfield/scipy,richardotis/scipy,andyfaff/scipy,mikebenfield/scipy,nmayorov/scipy,dominicelse/scipy,surhudm/scipy,witcxc/scipy,zerothi/scipy,gertingold/scipy,scipy/scipy,befelix/scipy,jseabold/scipy,andyfaff/scipy,matthewalbani/scipy,ChanderG/scipy,jonycgn/scipy,dch312/scipy,rmcgibbo/scipy,rmcgibbo/scipy,endolith/scipy,zaxliu/scipy,vigna/scipy,dch312/scipy,pizzathief/scipy,sauliusl/scipy,gfyoung/scipy,FRidh/scipy,ilayn/scipy,nmayorov/scipy,pschella/scipy,ChanderG/scipy,witcxc/scipy,trankmichael/scipy,matthew-brett/scipy,pbrod/scipy,jamestwebber/scipy,anielsen001/scipy,zxsted/scipy,kleskjr/scipy,Stefan-Endres/scipy,nonhermitian/scipy,surhudm/scipy,rgommers/scipy,jamestwebber/scipy,niknow/scipy,dominicelse/scipy,gef756/scipy,matthewalbani/scipy,larsmans/scipy,aman-iitj/scipy,sauliusl/scipy,surhudm/scipy,cpaulik/scipy,ortylp/scipy,grlee77/scipy,pizzathief/scipy,njwilson23/scipy,ChanderG/scipy,lhilt/scipy,lhilt/scipy,gef756/scipy,andyfaff/scipy,minhlongdo/scipy,futurulus/scipy,endolith/scipy,fernand/scipy,grlee77/scipy,argriffing/scipy,vanpact/scipy,arokem/scipy,jseabold/scipy,Dapid/scipy,ales-erjavec/scipy,endolith/scipy,tylerjereddy/scipy