We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 107cb10 commit c1a0dbcCopy full SHA for c1a0dbc
doc/source/io.rst
@@ -3937,12 +3937,12 @@ And here's the code
3937
if os.path.exists('test.sql'):
3938
os.remove('test.sql')
3939
sql_db = sqlite3.connect('test.sql')
3940
- sql.write_frame(df, name='test_table', con=sql_db)
+ df.to_sql(name='test_table', con=sql_db)
3941
sql_db.close()
3942
3943
def test_sql_read():
3944
3945
- sql.read_frame("select * from test_table", sql_db)
+ pd.read_sql_query("select * from test_table", sql_db)
3946
3947
3948
def test_hdf_fixed_write(df):
0 commit comments