ENH: support index=True/False keyword for io.sql.get_schema
- [x] closes #9084
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

Sorry, a couple issues with the docstring: https://github.com/pandas-dev/pandas/pull/35063/checks?check_run_id=842449220#step:10:9. Do you have time to fix those here? `python scripts/validate_docstring.py pandas.io.sql.get_schema` should print all the issues. > get_schema is meant to be user-facing?

That's not entirely clear, see https://github.com/pandas-dev/pandas/issues/9960

 I think we should just consider it public and document it as is. @VirosaLi From the above looks like this might be ready to go? Maybe merge master again? This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. Hello @fangchenli! 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 2020-12-08 04:46:02 UTC This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. @fangchenli - still interested in working on this or shall we close? closing as stale. if you want to continue, pls ping and can re-open.