Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • You also don't need to create the SQLAlchemy engine yourself, you can pass in the sqlite:///... URL directly to pandas.read_sql(). Commented Nov 13, 2018 at 15:50
  • @MartijnPieters You're right, I mistakenly left that pasted in from another function in which I created/entered data into the database. Commented Nov 13, 2018 at 15:54
  • I've removed the sqlite3 connection from the question, no need to distract with that. Commented Nov 13, 2018 at 16:05
  • Save yourself some headache....if you're using sqlalchemy you should use the ORM....its SO MUCH easier than having to hand build SQL commands Commented Nov 13, 2018 at 16:33