ENH: Allow to_sql to recognize single sql type #11886
Follow-up in https://github.com/pydata/pandas/pull/13614

---

This solves #11886 
It checks whether the passed dtype variable is a dictionary.
If not, it creates a new dictionary with keys as the columns of the dataframe.
It then passes this dictionary to the pandasSQL_builder.

Could someone please tell me why this build failed? (https://travis-ci.org/pydata/pandas/jobs/132018332)
I can't find any error in the logs.
 you have pep issues

https://travis-ci.org/pydata/pandas/jobs/132018332
 `pandas/io/tests/test_sql.py:2050:80: E501 line too long (80 > 79 characters)
pandas/io/tests/test_sql.py:2051:53: E127 continuation line over-indented for visual indent
`
How should I fix these lines?
https://github.com/pydata/pandas/pull/13252/files#diff-052a926a9b2c33a84e27d51c8fad3466R2050
 @RahulHP Is there a reason you closed this?

To clean up the unwanted commits here, you can do:

```
git fetch upstream/master
git rebase upstream/master
git push -f origin/master
```
 I thought someone else would be better equipped to handle this. I have tried it but I seem to have trouble with the rebase related commands.

I'll try it again now.
 @RahulHP You still have some commits that should not be in here. Normally, by doing exactly:

```
git fetch upstream/master
git rebase upstream/master
git push -f origin/master
```

it should be OK. If this does not work, can you show the output of those commands?
 @RahulHP  Do you have time to update this?
 No I don't, sorry for the trouble.
 @RahulHP No problem, I will rebase this for you then, as it was a good enhancement!
 Rebased in https://github.com/pydata/pandas/pull/13614
