[SPARK-9772] [PYSPARK] [ML] Add Python API for ml.feature.VectorSlicer
[SPARK-9772] [PYSPARK] [ML] Add Python API for ml.feature.VectorSlicer

Add Python API for ml.feature.VectorSlicer.

Author: Yanbo Liang <ybliang8@gmail.com>

Closes #8102 from yanboliang/SPARK-9772.

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