Switched from torndb wrapper to raw MySQLdb, reading from iterator into numpy