问题遇到的现象和发生背景 python sqlite3
创建表单时:name = Column(String(10), nullable=False),但echo 显示 name VARCHAR(10);向数据库导入数据时(pd_to_sql)如果指定dtype,
goods:sqlalchemy.types.String(length=10),出现ValueError: goods (VARCHAR(10)) not a string;不指定dtype数据可以导入,但 price = Column(Numeric(10,2)) 有问题,0.2导入后变成0.1999999999