Closed suvasu closed 6 years ago
reading a decimal into a panda data frame has issues when the 1/10th digit is a zero.
import pandas as pd import giraffe slq1='select 10.01;' sql_results=giraffe.Cmd().execute(slq1) r1=sql_results.one() df1 = pd.DataFrame(r1.rows, columns=r1.columns.safe_names) print df1
0 10.1
slq2='select 10.08;' sql_results=giraffe.Cmd().execute(slq2) r1=sql_results.one() df1 = pd.DataFrame(r1.rows, columns=r1.columns.safe_names) print df1
0 10.8
reading a decimal into a panda data frame has issues when the 1/10th digit is a zero.
0 10.1
0 10.8