Mysql index without key specification on replace?
问题 I have the following code: mytable.to_sql(name='mytable', con=engine, index=True, if_exists='replace') But it keeps throwing the following error: '(1170, "BLOB/TEXT column 'index' used in key specification without a key length")'[SQL: CREATE INDEX ix_mytable_index ON mytable (index)] I think I understand why the error happens but in the context for the code above I don't know how to specify the length. I can't change the underlying database since this code was handed down to me. 来源: https:/