Add insertInto and saveAsTable to Python API.
Add insertInto and saveAsTable to Python API.

Author: Michael Armbrust <michael@databricks.com>

Closes #447 from marmbrus/pythonInsert and squashes the following commits:

c7ab692 [Michael Armbrust] Keep docstrings < 72 chars.
ff62870 [Michael Armbrust] Add insertInto and saveAsTable to Python API.

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