BUG: to_sql works only for strings #61385
Labels
Bug
IO SQL
to_sql, read_sql, read_sql_query
Needs Info
Clarification about behavior needed to assess issue
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
For any type other than str this block in pandas.io.sql will fail.
Expected Behavior
Different datatypes should be supported.
Installed Versions
pandas==2.2.3
The text was updated successfully, but these errors were encountered: