[PYSPARK] add picklable SparseMatrix in pyspark.ml.common
[PYSPARK] add picklable SparseMatrix in pyspark.ml.common

## What changes were proposed in this pull request?

add `SparseMatrix` class whick support pickler.

## How was this patch tested?

Existing test.

Author: WeichenXu <WeichenXu123@outlook.com>

Closes #14265 from WeichenXu123/picklable_py.

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