Company write a mailing system, you need to excel in the content entry to the database, I am ready to start a database link bulk insert, later found pandas have a to_sql command, so there is this article.
In data.to_sql () There are some parameters:
name is the name of the table
con is connected
if_exists: table if there is how to deal with
- append: Add
- replace: Delete the original table, create a new table and then add
- fail: do not do anything
index = False: not insert index index