Pandas DATAFRAME to_sql PostgreSQL
```python
# Your code here
import pandas as pd
import sqlalchemy

sql='select * from stg.first_table limit 10'
pg_engine='postgresql+psycopg2://localhost:3433/TEST'

pg_df = pd.read_sql(sql, con=pg_engine)

print pg_df  #success, type(pg_df)== <class 'pandas.core.frame.DataFrame'>

#pg_df.to_sql('stg.temp_20170731', pg_engine, if_exists='replace', index=False,chunksize=10)

pd.io.sql.to_sql(pg_df,'stg.temp_20170731',pg_engine,
                 if_exists='replace',index=False,chunksize=10) #finish whitout any errors,but the
                                                # table stg.temp_20170731 don't exist
```
#### Problem description
I'm tyring  to  write a pandas DataFrame to a PostgreSQL database--use to_sql, the command is done without any errors,but the table stg.temp_20170731 still don't exist


