You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the option if_exists='replace' in write_frame the table is dropped but not re-created.
Simple error in the logic:
#create or drop-recreate if necessary
create = None
if exists and if_exists == 'replace':
create = "DROP TABLE %s" % name
elif not exists:
create = get_schema(frame, name, flavor)
if create is not None:
cur = con.cursor()
cur.execute(create)
cur.close()
The text was updated successfully, but these errors were encountered:
For the option if_exists='replace' in write_frame the table is dropped but not re-created.
Simple error in the logic:
The text was updated successfully, but these errors were encountered: