0
My problem is with Float values
example:
df = pd.DataFrame([1.45])
conn_str = 'mssql+pyodbc:///?odbc_connect={}'.format(params)
engine = create_engine(conn_str)
df.to_sql(name='teste',con=engine, if_exists='replace',index=False)
table is generated in my SQL successfully, the problem is the shape of the float that comes with comma instead of dot (1.45) how do I export with point separator(1.45)
Obs: in other tables of my bank are with separator by point
Thank you.
Hi Marcelo, sorry for the ignorance, but I didn’t understand which part I use this code.
– Fábio Minutti
In the entry point of your program. At the beginning of it.
– Marcelo Shiniti Uchimura