add default  zip file name in dataframe to_csv when use 'infer' + 'zip' method
fix #39465 

copy some code from gzip ,now df.to_csv('myfile.csv.zip') works like df.to_csv('myfile.csv.gz')


- [ ] closes #39465 
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them
- [ ] whatsnew entry

Hello @HQDragon! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:

























































There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: 

##### Comment last updated at 2021-02-08 01:17:17 UTC sorry ,i messed up some git routine, i need to close this and open new one pls review the new PR #39662 
@twoertwein 