[SPARK-35811][PYTHON] Deprecate DataFrame.to_spark_io
[SPARK-35811][PYTHON] Deprecate DataFrame.to_spark_io

### What changes were proposed in this pull request?

Deprecate the `DataFrame.to_spark_io`

### Why are the changes needed?

We should deprecate the `DataFrame.to_spark_io` since it's duplicated with `DataFrame.spark.to_spark_io`, and it's not existed in pandas.

### Does this PR introduce _any_ user-facing change?

Yes, users will get warning while using `DataFrame.to_spark_io` api.

### How was this patch tested?

Pass the CIs

Closes #32964 from pingsutw/SPARK-35811.

Authored-by: Kevin Su <d1d64b4bc08819fecb500db325cdc7f9722e2152@apache.org>
Signed-off-by: Hyukjin Kwon <2680965ad5aae29275c8fb10150cb10f5554e78b@apache.org>

JoshRosen/spark,rednaxelafx/apache-spark,zero323/spark,hvanhovell/spark,witgo/spark,maropu/spark,jiangxb1987/spark,taroplus/spark,gengliangwang/spark,jiangxb1987/spark,taroplus/spark,mahak/spark,apache/spark,vinodkc/spark,nchammas/spark,gengliangwang/spark,nchammas/spark,gengliangwang/spark,JoshRosen/spark,HyukjinKwon/spark,xuanyuanking/spark,wangmiao1981/spark,milliman/spark,milliman/spark,dongjoon-hyun/spark,JoshRosen/spark,zzcclp/spark,witgo/spark,dongjoon-hyun/spark,taroplus/spark,chuckchen/spark,hvanhovell/spark,wangmiao1981/spark,cloud-fan/spark,mahak/spark,wangmiao1981/spark,srowen/spark,jiangxb1987/spark,shaneknapp/spark,cloud-fan/spark,vinodkc/spark,xuanyuanking/spark,nchammas/spark,taroplus/spark,srowen/spark,taroplus/spark,witgo/spark,WeichenXu123/spark,zzcclp/spark,chuckchen/spark,rednaxelafx/apache-spark,zero323/spark,WeichenXu123/spark,hvanhovell/spark,holdenk/spark,apache/spark,chuckchen/spark,nchammas/spark,gengliangwang/spark,holdenk/spark,vinodkc/spark,wangyum/spark,nchammas/spark,mahak/spark,srowen/spark,nchammas/spark,jiangxb1987/spark,gengliangwang/spark,xuanyuanking/spark,cloud-fan/spark,wangyum/spark,rednaxelafx/apache-spark,maropu/spark,srowen/spark,holdenk/spark,maropu/spark,HyukjinKwon/spark,mahak/spark,vinodkc/spark,shaneknapp/spark,holdenk/spark,cloud-fan/spark,maropu/spark,zero323/spark,WeichenXu123/spark,HyukjinKwon/spark,mahak/spark,maropu/spark,hvanhovell/spark,chuckchen/spark,dongjoon-hyun/spark,dongjoon-hyun/spark,nchammas/spark,zzcclp/spark,wangyum/spark,HyukjinKwon/spark,zzcclp/spark,zero323/spark,wangyum/spark,hvanhovell/spark,rednaxelafx/apache-spark,shaneknapp/spark,ueshin/apache-spark,wangyum/spark,JoshRosen/spark,milliman/spark,gengliangwang/spark,ueshin/apache-spark,taroplus/spark,WeichenXu123/spark,xuanyuanking/spark,srowen/spark,zzcclp/spark,wangmiao1981/spark,WeichenXu123/spark,milliman/spark,apache/spark,ueshin/apache-spark,WeichenXu123/spark,vinodkc/spark,zero323/spark,holdenk/spark,witgo/spark,holdenk/spark,srowen/spark,wangyum/spark,dongjoon-hyun/spark,rednaxelafx/apache-spark,vinodkc/spark,holdenk/spark,maropu/spark,rednaxelafx/apache-spark,apache/spark,dongjoon-hyun/spark,ueshin/apache-spark,wangmiao1981/spark,zzcclp/spark,xuanyuanking/spark,shaneknapp/spark,cloud-fan/spark,WeichenXu123/spark,srowen/spark,milliman/spark,apache/spark,ueshin/apache-spark,taroplus/spark,ueshin/apache-spark,hvanhovell/spark,maropu/spark,ueshin/apache-spark,chuckchen/spark,shaneknapp/spark,wangyum/spark,cloud-fan/spark,mahak/spark,mahak/spark,chuckchen/spark,cloud-fan/spark,chuckchen/spark,zero323/spark,HyukjinKwon/spark,jiangxb1987/spark,shaneknapp/spark,witgo/spark,gengliangwang/spark,apache/spark,jiangxb1987/spark,milliman/spark,JoshRosen/spark,xuanyuanking/spark,zzcclp/spark,witgo/spark,xuanyuanking/spark,shaneknapp/spark,HyukjinKwon/spark,vinodkc/spark,wangmiao1981/spark,dongjoon-hyun/spark,rednaxelafx/apache-spark,milliman/spark,JoshRosen/spark,jiangxb1987/spark,zero323/spark,witgo/spark,HyukjinKwon/spark,JoshRosen/spark,hvanhovell/spark,apache/spark,wangmiao1981/spark