天天看點

pandas的io.sql子產品中常用的讀寫資料庫函數

read_sql_table()  将讀取的整張資料表中資料轉換成DataFrame對象

read_sql_query()  将SQL語句讀取結果轉換為DataFrame對象

read_sql()  既可以讀資料表也可以讀SQL語句

to_aql()  将資料寫入SQL資料庫中