[SPARK-10084] [MLLIB] [DOC] Add Python example for mllib FP-growth user guide
[SPARK-10084] [MLLIB] [DOC] Add Python example for mllib FP-growth user guide

1, Add Python example for mllib FP-growth user guide.
2, Correct mistakes of Scala and Java examples.

Author: Yanbo Liang <ybliang8@gmail.com>

Closes #8279 from yanboliang/spark-10084.

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