[SPARK-11671] documentation code example typo
[SPARK-11671] documentation code example typo

Example for sqlContext.createDataDrame from pandas.DataFrame has a typo

Author: Chris Snow <chsnow123@gmail.com>

Closes #9639 from snowch/patch-2.

big-pegasus/spark,ahnqirage/spark,alunarbeach/spark,mzl9039/spark,pgandhi999/spark,SnappyDataInc/spark,srowen/spark,highfei2011/spark,ericvandenbergfb/spark,mike0sv/spark,markhamstra/spark,BryanCutler/spark,taroplus/spark,srowen/spark,dbtsai/spark,cin/spark,mahak/spark,sahilTakiar/spark,zero323/spark,ioana-delaney/spark,sachintyagi22/spark,shubhamchopra/spark,aray/spark,tejasapatil/spark,xuanyuanking/spark,lxsmnv/spark,srowen/spark,MLnick/spark,skonto/spark,metamx/spark,patrick-nicholson/spark,hvanhovell/spark,apache-spark-on-k8s/spark,JerryLead/spark,lxsmnv/spark,hhbyyh/spark,zuotingbing/spark,cin/spark,dhruve/spark,shubhamchopra/spark,highfei2011/spark,nchammas/spark,debugger87/spark,minixalpha/spark,ptkool/spark,ConeyLiu/spark,szhem/spark,joseph-torres/spark,akopich/spark,SHASHANKB/spark,techaddict/spark,someorz/spark,andrewor14/spark,kimoonkim/spark,gengliangwang/spark,rednaxelafx/apache-spark,srowen/spark,setjet/spark,debugger87/spark,loneknightpy/spark,jiangxb1987/spark,Panos-Bletsos/spark-cost-model-optimizer,yanboliang/spark,caneGuy/spark,BryanCutler/spark,patrick-nicholson/spark,big-pegasus/spark,debugger87/spark,1haodian/spark,kiszk/spark,SnappyDataInc/spark,xuanyuanking/spark,bOOm-X/spark,ron8hu/spark,markhamstra/spark,mzl9039/spark,ueshin/apache-spark,WeichenXu123/spark,xflin/spark,ericvandenbergfb/spark,loneknightpy/spark,HyukjinKwon/spark,zuotingbing/spark,jlopezmalla/spark,guoxiaolongzte/spark,Panos-Bletsos/spark-cost-model-optimizer,LantaoJin/spark,ericvandenbergfb/spark,Aegeaner/spark,map222/spark,brad-kaiser/spark,hvanhovell/spark,actuaryzhang/spark,sureshthalamati/spark,ptkool/spark,taroplus/spark,ioana-delaney/spark,publicRoman/spark,JerryLead/spark,rezasafi/spark,cin/spark,wangmiao1981/spark,janewangfb/spark,bOOm-X/spark,vinodkc/spark,srowen/spark,jlopezmalla/spark,bravo-zhang/spark,rekhajoshm/spark,hvanhovell/spark,ron8hu/spark,bdrillard/spark,ron8hu/spark,guoxiaolongzte/spark,ibm-research-ireland/sparkoscope,janewangfb/spark,tengpeng/spark,nlalevee/spark,WindCanDie/spark,apache-spark-on-k8s/spark,lxsmnv/spark,janewangfb/spark,aray/spark,mike0sv/spark,jrshust/spark,JerryLead/spark,mahak/spark,joseph-torres/spark,SHASHANKB/spark,mahak/spark,bravo-zhang/spark,hhbyyh/spark,xflin/spark,rikima/spark,cloud-fan/spark,dbtsai/spark,rezasafi/spark,xuanyuanking/spark,taroplus/spark,andrewor14/spark,pgandhi999/spark,ibm-research-ireland/sparkoscope,dhruve/spark,minixalpha/spark,bdrillard/spark,aosagie/spark,chuckchen/spark,shubhamchopra/spark,alunarbeach/spark,maropu/spark,techaddict/spark,mahak/spark,holdenk/spark,liutang123/spark,stanzhai/spark,loneknightpy/spark,aray/spark,aosagie/spark,map222/spark,ericvandenbergfb/spark,maropu/spark,SHASHANKB/spark,esi-mineset/spark,nchammas/spark,metamx/spark,stanzhai/spark,ibm-research-ireland/sparkoscope,icexelloss/spark,esi-mineset/spark,hhbyyh/spark,icexelloss/spark,mzl9039/spark,narahari92/spark,dbtsai/spark,cloud-fan/spark,facaiy/spark,actuaryzhang/spark,BryanCutler/spark,aosagie/spark,cloud-fan/spark,esi-mineset/spark,jkbradley/spark,sureshthalamati/spark,ioana-delaney/spark,rikima/spark,publicRoman/spark,xflin/spark,sahilTakiar/spark,someorz/spark,ericvandenbergfb/spark,wangyum/spark,skonto/spark,facaiy/spark,jrshust/spark,liutang123/spark,zhouyejoe/spark,lvdongr/spark,wzhfy/spark,liyichao/spark,aray/spark,jkbradley/spark,sachintyagi22/spark,dongjoon-hyun/spark,stanzhai/spark,lxsmnv/spark,HyukjinKwon/spark,huang1900/spark,highfei2011/spark,setjet/spark,brad-kaiser/spark,mike0sv/spark,apache-spark-on-k8s/spark,stanzhai/spark,bdrillard/spark,map222/spark,metamx/spark,guoxiaolongzte/spark,UndeadBaneGitHub/spark,michalsenkyr/spark,nlalevee/spark,WindCanDie/spark,kiszk/spark,nlalevee/spark,stanzhai/spark,saltstar/spark,xflin/spark,SHASHANKB/spark,hvanhovell/spark,jianran/spark,nchammas/spark,andrewor14/spark,andrewor14/spark,milliman/spark,lvdongr/spark,kissmetrics/spark,LantaoJin/spark,byakuinss/spark,apache/spark,gengliangwang/spark,chuckchen/spark,ddna1021/spark,huang1900/spark,ddna1021/spark,xuanyuanking/spark,lxsmnv/spark,liyichao/spark,ueshin/apache-spark,SnappyDataInc/spark,szhem/spark,JoshRosen/spark,adrian-ionescu/apache-spark,dhruve/spark,saltstar/spark,cin/spark,rikima/spark,ericvandenbergfb/spark,spark-test/spark,jianran/spark,MLnick/spark,yanboliang/spark,gioenn/xSpark,matthewfranglen/spark,darionyaphet/spark,pgandhi999/spark,ioana-delaney/spark,saltstar/spark,holdenk/spark,vinodkc/spark,mahak/spark,shaneknapp/spark,1haodian/spark,WeichenXu123/spark,1haodian/spark,ioana-delaney/spark,tengpeng/spark,Panos-Bletsos/spark-cost-model-optimizer,esi-mineset/spark,debugger87/spark,kissmetrics/spark,huang1900/spark,tengpeng/spark,taroplus/spark,aokolnychyi/spark,cloud-fan/spark,zzcclp/spark,minixalpha/spark,apache/spark,ioana-delaney/spark,ConeyLiu/spark,WeichenXu123/spark,skonto/spark,sahilTakiar/spark,sachintyagi22/spark,wangyum/spark,jiangxb1987/spark,wzhfy/spark,ajaysaini725/spark,huang1900/spark,nlalevee/spark,publicRoman/spark,nilsgrabbert/spark,maropu/spark,cloud-fan/spark,akopich/spark,Panos-Bletsos/spark-cost-model-optimizer,hhbyyh/spark,witgo/spark,cloud-fan/spark,BryanCutler/spark,someorz/spark,rekhajoshm/spark,saltstar/spark,aray/spark,loneknightpy/spark,facaiy/spark,facaiy/spark,someorz/spark,guoxiaolongzte/spark,spark-test/spark,vinodkc/spark,lvdongr/spark,ahnqirage/spark,jrshust/spark,yanboliang/spark,JerryLead/spark,gioenn/xSpark,dbtsai/spark,jkbradley/spark,ibm-research-ireland/sparkoscope,big-pegasus/spark,apache/spark,ueshin/apache-spark,zero323/spark,michalsenkyr/spark,mzl9039/spark,saturday-shi/spark,jlopezmalla/spark,szhem/spark,BryanCutler/spark,mdespriee/spark,tengpeng/spark,rednaxelafx/apache-spark,cin/spark,markhamstra/spark,milliman/spark,zuotingbing/spark,jrshust/spark,shubhamchopra/spark,adrian-ionescu/apache-spark,MLnick/spark,bOOm-X/spark,witgo/spark,kiszk/spark,apache/spark,jiangxb1987/spark,apache-spark-on-k8s/spark,lvdongr/spark,Aegeaner/spark,srowen/spark,WindCanDie/spark,UndeadBaneGitHub/spark,vinodkc/spark,shubhamchopra/spark,saltstar/spark,witgo/spark,zzcclp/spark,someorz/spark,dhruve/spark,markhamstra/spark,rednaxelafx/apache-spark,panfengfeng/spark,patrick-nicholson/spark,wangmiao1981/spark,joseph-torres/spark,mahak/spark,poffuomo/spark,goldmedal/spark,ahnqirage/spark,1haodian/spark,shuangshuangwang/spark,sahilTakiar/spark,JoshRosen/spark,nlalevee/spark,zero323/spark,map222/spark,LantaoJin/spark,nilsgrabbert/spark,sachintyagi22/spark,huang1900/spark,bOOm-X/spark,zuotingbing/spark,ptkool/spark,ericvandenbergfb/spark,goldmedal/spark,witgo/spark,rednaxelafx/apache-spark,janewangfb/spark,SnappyDataInc/spark,goldmedal/spark,xuanyuanking/spark,eyalfa/spark,spark-test/spark,patrick-nicholson/spark,rekhajoshm/spark,andrewor14/spark,shaneknapp/spark,actuaryzhang/spark,aray/spark,shaneknapp/spark,tejasapatil/spark,rekhajoshm/spark,nilsgrabbert/spark,kissmetrics/spark,milliman/spark,nchammas/spark,jianran/spark,ConeyLiu/spark,BryanCutler/spark,jkbradley/spark,ajaysaini725/spark,caneGuy/spark,map222/spark,pgandhi999/spark,jkbradley/spark,dongjoon-hyun/spark,ueshin/apache-spark,gioenn/xSpark,jlopezmalla/spark,kevinyu98/spark,UndeadBaneGitHub/spark,ron8hu/spark,guoxiaolongzte/spark,bdrillard/spark,bravo-zhang/spark,saturday-shi/spark,goldmedal/spark,narahari92/spark,huang1900/spark,lvdongr/spark,icexelloss/spark,HyukjinKwon/spark,dongjoon-hyun/spark,witgo/spark,zzcclp/spark,taroplus/spark,byakuinss/spark,lvdongr/spark,icexelloss/spark,kimoonkim/spark,UndeadBaneGitHub/spark,zuotingbing/spark,hhbyyh/spark,bOOm-X/spark,yanboliang/spark,xuanyuanking/spark,actuaryzhang/spark,kevinyu98/spark,publicRoman/spark,JoshRosen/spark,tengpeng/spark,spark-test/spark,bravo-zhang/spark,jrshust/spark,aosagie/spark,ajaysaini725/spark,HyukjinKwon/spark,poffuomo/spark,joseph-torres/spark,skonto/spark,setjet/spark,JoshRosen/spark,yanboliang/spark,Aegeaner/spark,mahak/spark,liutang123/spark,patrick-nicholson/spark,shaneknapp/spark,sahilTakiar/spark,aokolnychyi/spark,byakuinss/spark,debugger87/spark,kissmetrics/spark,adrian-ionescu/apache-spark,1haodian/spark,tejasapatil/spark,xflin/spark,joseph-torres/spark,wangyum/spark,jrshust/spark,nchammas/spark,darionyaphet/spark,sureshthalamati/spark,srowen/spark,MLnick/spark,sureshthalamati/spark,rekhajoshm/spark,kiszk/spark,kiszk/spark,goldmedal/spark,szhem/spark,Panos-Bletsos/spark-cost-model-optimizer,facaiy/spark,jiangxb1987/spark,darionyaphet/spark,loneknightpy/spark,WeichenXu123/spark,brad-kaiser/spark,UndeadBaneGitHub/spark,byakuinss/spark,zhouyejoe/spark,saturday-shi/spark,mdespriee/spark,esi-mineset/spark,SHASHANKB/spark,map222/spark,map222/spark,apache-spark-on-k8s/spark,chuckchen/spark,saturday-shi/spark,mike0sv/spark,michalsenkyr/spark,caneGuy/spark,mdespriee/spark,ioana-delaney/spark,akopich/spark,skonto/spark,loneknightpy/spark,eyalfa/spark,ddna1021/spark,stanzhai/spark,adrian-ionescu/apache-spark,kimoonkim/spark,metamx/spark,kissmetrics/spark,ahnqirage/spark,JoshRosen/spark,maropu/spark,Aegeaner/spark,rikima/spark,WeichenXu123/spark,ron8hu/spark,jiangxb1987/spark,poffuomo/spark,szhem/spark,gengliangwang/spark,sachintyagi22/spark,milliman/spark,maropu/spark,kiszk/spark,wangyum/spark,nilsgrabbert/spark,gioenn/xSpark,rikima/spark,liutang123/spark,SnappyDataInc/spark,BryanCutler/spark,alunarbeach/spark,andrewor14/spark,akopich/spark,Panos-Bletsos/spark-cost-model-optimizer,LantaoJin/spark,ron8hu/spark,apache-spark-on-k8s/spark,mdespriee/spark,hvanhovell/spark,bdrillard/spark,saltstar/spark,huang1900/spark,publicRoman/spark,panfengfeng/spark,apache/spark,ahnqirage/spark,adrian-ionescu/apache-spark,jianran/spark,UndeadBaneGitHub/spark,holdenk/spark,zzcclp/spark,darionyaphet/spark,ajaysaini725/spark,tejasapatil/spark,MLnick/spark,wangmiao1981/spark,zhouyejoe/spark,kimoonkim/spark,shubhamchopra/spark,narahari92/spark,metamx/spark,debugger87/spark,bdrillard/spark,dbtsai/spark,Aegeaner/spark,vinodkc/spark,1haodian/spark,panfengfeng/spark,vinodkc/spark,goldmedal/spark,ptkool/spark,dhruve/spark,tejasapatil/spark,techaddict/spark,actuaryzhang/spark,markhamstra/spark,sureshthalamati/spark,pgandhi999/spark,pgandhi999/spark,cloud-fan/spark,Panos-Bletsos/spark-cost-model-optimizer,sureshthalamati/spark,kevinyu98/spark,panfengfeng/spark,zero323/spark,aokolnychyi/spark,joseph-torres/spark,facaiy/spark,jkbradley/spark,brad-kaiser/spark,kimoonkim/spark,ConeyLiu/spark,jiangxb1987/spark,techaddict/spark,jkbradley/spark,taroplus/spark,ueshin/apache-spark,bravo-zhang/spark,holdenk/spark,HyukjinKwon/spark,big-pegasus/spark,kevinyu98/spark,kevinyu98/spark,panfengfeng/spark,aray/spark,aosagie/spark,icexelloss/spark,pgandhi999/spark,JerryLead/spark,minixalpha/spark,szhem/spark,skonto/spark,WindCanDie/spark,hhbyyh/spark,zuotingbing/spark,michalsenkyr/spark,someorz/spark,szhem/spark,icexelloss/spark,apache/spark,caneGuy/spark,ptkool/spark,bOOm-X/spark,Aegeaner/spark,shuangshuangwang/spark,tengpeng/spark,zhouyejoe/spark,liutang123/spark,LantaoJin/spark,minixalpha/spark,kevinyu98/spark,alunarbeach/spark,saltstar/spark,1haodian/spark,ajaysaini725/spark,rezasafi/spark,yanboliang/spark,sureshthalamati/spark,zhouyejoe/spark,ueshin/apache-spark,chuckchen/spark,zero323/spark,big-pegasus/spark,WindCanDie/spark,holdenk/spark,milliman/spark,rezasafi/spark,ron8hu/spark,zzcclp/spark,esi-mineset/spark,byakuinss/spark,dongjoon-hyun/spark,vinodkc/spark,setjet/spark,brad-kaiser/spark,mzl9039/spark,rednaxelafx/apache-spark,witgo/spark,spark-test/spark,JerryLead/spark,spark-test/spark,techaddict/spark,saturday-shi/spark,jianran/spark,ajaysaini725/spark,poffuomo/spark,dongjoon-hyun/spark,someorz/spark,caneGuy/spark,wzhfy/spark,patrick-nicholson/spark,wangmiao1981/spark,aokolnychyi/spark,shuangshuangwang/spark,gengliangwang/spark,skonto/spark,poffuomo/spark,nlalevee/spark,alunarbeach/spark,wzhfy/spark,SnappyDataInc/spark,JerryLead/spark,SHASHANKB/spark,zzcclp/spark,setjet/spark,janewangfb/spark,liutang123/spark,minixalpha/spark,byakuinss/spark,cin/spark,esi-mineset/spark,jianran/spark,bravo-zhang/spark,shuangshuangwang/spark,akopich/spark,taroplus/spark,mike0sv/spark,sachintyagi22/spark,jlopezmalla/spark,wangmiao1981/spark,rekhajoshm/spark,goldmedal/spark,MLnick/spark,alunarbeach/spark,loneknightpy/spark,byakuinss/spark,liyichao/spark,wzhfy/spark,dbtsai/spark,rikima/spark,poffuomo/spark,zzcclp/spark,rezasafi/spark,witgo/spark,liyichao/spark,janewangfb/spark,darionyaphet/spark,maropu/spark,aosagie/spark,ConeyLiu/spark,eyalfa/spark,panfengfeng/spark,wangyum/spark,rekhajoshm/spark,LantaoJin/spark,chuckchen/spark,bdrillard/spark,nchammas/spark,jianran/spark,dbtsai/spark,lvdongr/spark,gioenn/xSpark,wangyum/spark,rednaxelafx/apache-spark,sachintyagi22/spark,liutang123/spark,metamx/spark,debugger87/spark,techaddict/spark,shuangshuangwang/spark,ConeyLiu/spark,shubhamchopra/spark,wangmiao1981/spark,setjet/spark,caneGuy/spark,nchammas/spark,WeichenXu123/spark,JoshRosen/spark,andrewor14/spark,darionyaphet/spark,zhouyejoe/spark,darionyaphet/spark,kimoonkim/spark,zuotingbing/spark,sahilTakiar/spark,highfei2011/spark,mzl9039/spark,nilsgrabbert/spark,eyalfa/spark,ptkool/spark,milliman/spark,dhruve/spark,facaiy/spark,kimoonkim/spark,wangyum/spark,rednaxelafx/apache-spark,adrian-ionescu/apache-spark,actuaryzhang/spark,liyichao/spark,mzl9039/spark,WeichenXu123/spark,WindCanDie/spark,MLnick/spark,dongjoon-hyun/spark,gengliangwang/spark,nilsgrabbert/spark,narahari92/spark,Aegeaner/spark,actuaryzhang/spark,ddna1021/spark,liyichao/spark,shaneknapp/spark,guoxiaolongzte/spark,stanzhai/spark,xflin/spark,yanboliang/spark,markhamstra/spark,ahnqirage/spark,holdenk/spark,janewangfb/spark,michalsenkyr/spark,HyukjinKwon/spark,sahilTakiar/spark,SHASHANKB/spark,akopich/spark,SnappyDataInc/spark,spark-test/spark,ddna1021/spark,markhamstra/spark,nlalevee/spark,chuckchen/spark,joseph-torres/spark,ddna1021/spark,caneGuy/spark,aokolnychyi/spark,zero323/spark,LantaoJin/spark,ahnqirage/spark,adrian-ionescu/apache-spark,holdenk/spark,aokolnychyi/spark,mdespriee/spark,alunarbeach/spark,aosagie/spark,ueshin/apache-spark,saturday-shi/spark,jlopezmalla/spark,ddna1021/spark,minixalpha/spark,techaddict/spark,brad-kaiser/spark,rezasafi/spark,highfei2011/spark,aokolnychyi/spark,ibm-research-ireland/sparkoscope,michalsenkyr/spark,narahari92/spark,jrshust/spark,eyalfa/spark,akopich/spark,icexelloss/spark,big-pegasus/spark,panfengfeng/spark,wangmiao1981/spark,xflin/spark,big-pegasus/spark,kiszk/spark,tejasapatil/spark,dongjoon-hyun/spark,publicRoman/spark,ibm-research-ireland/sparkoscope,kissmetrics/spark,mike0sv/spark,patrick-nicholson/spark,lxsmnv/spark,liyichao/spark,rikima/spark,maropu/spark,rezasafi/spark,highfei2011/spark,michalsenkyr/spark,wzhfy/spark,shuangshuangwang/spark,JoshRosen/spark,shaneknapp/spark,shuangshuangwang/spark,narahari92/spark,kissmetrics/spark,apache/spark,tejasapatil/spark,kevinyu98/spark,setjet/spark,milliman/spark,lxsmnv/spark,jiangxb1987/spark,ptkool/spark,ajaysaini725/spark,poffuomo/spark,hvanhovell/spark,mdespriee/spark,publicRoman/spark,bravo-zhang/spark,apache-spark-on-k8s/spark,WindCanDie/spark,metamx/spark,gengliangwang/spark,HyukjinKwon/spark,nilsgrabbert/spark,bOOm-X/spark,highfei2011/spark,UndeadBaneGitHub/spark,gioenn/xSpark,hhbyyh/spark,gioenn/xSpark,ConeyLiu/spark,eyalfa/spark,chuckchen/spark,mike0sv/spark,xuanyuanking/spark,wzhfy/spark,guoxiaolongzte/spark,narahari92/spark,dhruve/spark,brad-kaiser/spark,cin/spark,hvanhovell/spark,jlopezmalla/spark,shaneknapp/spark,zhouyejoe/spark,eyalfa/spark,tengpeng/spark,saturday-shi/spark,gengliangwang/spark,ibm-research-ireland/sparkoscope,zero323/spark,mdespriee/spark