On Wed, Jan 3, 2018 at 12:30 PM, Jevgenij Kusakovskij <kush...@gmail.com> wrote:
> Thank you for such a quick response!
>
> Tried your suggestions, but still getting the same error.
>
> And could it be caused by some data in the DataFrame being 'odd'? E.g.
> Timestamp('2012-05-22 00:00:00') assigned to col2.

maybe but that's not what the error would necessarily look like.

what does data.to_dict() return, is that a list of dictionaries?
Usually I step into these things with pdb and try smaller forms of
what's going on to isolate how it winds up in an error situation.  If
you are new to Python, there'd be a learning curve here using pdb and
whatnot (worth it though IMO).



>
> --
> SQLAlchemy -
> The Python SQL Toolkit and Object Relational Mapper
>
> http://www.sqlalchemy.org/
>
> To post example code, please provide an MCVE: Minimal, Complete, and
> Verifiable Example. See http://stackoverflow.com/help/mcve for a full
> description.
> ---
> You received this message because you are subscribed to the Google Groups
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at https://groups.google.com/group/sqlalchemy.
> For more options, visit https://groups.google.com/d/optout.

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to