yhat / pandasql

sqldf for pandas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to set text_factory to handle non ascii byte codes

javadba opened this issue · comments

For an input dataset with some international data i am seeing very slow performance and then the following error was emitted:

(sqlite3.ProgrammingError) You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str) It is highly recommended that you instead just switch your application to Unicode strings. [SQL: u'INSERT INTO pkgdftail ...

Is there a configuration and/or workaround for this?

the same here