igers = create_engine('postgres://%s:%s@%s/ibdrs' %(igersUser, igersPwd, igersHost), encoding="utf-8")
df.to_sql('Table_Named_Something', igers, if_exists='replace', schema='Schema', index = False)
Using the above code I am getting an error (psycopg2.ProgrammingError) Relation "Table_Named_Something" already exists
I thought that the if_exists='replace' should drop and recreate the table; am I wrong? why would that not work on redshift?