CLN: pep8 clean up of sql.py
Merge pull request #8340 from jorisvandenbossche/sql-pep8

CLN: pep8 clean up of sql.py
ENH: Add Numpy Array Interface support to Pandas objects

TST: test handling Numpy Array Interface, also explicitly test handling
rpy2 objects