python - Pyodbc extracts only top three rows -


i making transition r python , flat files relational databases, ugly.

after establishing connection database using pyodbc, use pandas extract tables need. know fact data table need have @ least 4000 rows keep getting 3 rows. pretty sure it's option im not specifying correctly, it's not obvious going wrong.

    import pyodbc      import pandas pd     pandas import *      cnxn = pyodbc.connect('dsn=mydsn')      hdem = pd.read_sql('select * mytable', cnxn)     hdem.shape 

where going wrong here? many in advance.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -