When I perform pandas.read_sql()
, integer columns that contain NULL values are converted float.
How can I avoid that? I tried coerce_float=False
but that didn't do it.
[The inability to handle NULL values in integer columns in pandas is REALLY annoying!]
EDIT: I know that pandas can not have NULL values in integer columns. What I would like to achieve is to keep the columns as strings or objects.