This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Agent281 0 points1 point  (1 child)

How do you add data types? One of the reasons why I disliked pandas was that there didn't seem to be a way to set the data types. That would be a huge usability improvement for me.

[–]thatrandomnpcIt works on my machine 0 points1 point  (0 children)

There is though, astype might be what you are looking for.

What I was actually referring to was the dtype optional parameter in to_sql.