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 9903b89 commit dc2465eCopy full SHA for dc2465e
README.rst
@@ -237,7 +237,7 @@ Insert data stored in a ``pandas.DataFrame`` into an Amazon Redshift table
237
),
238
columns=["bookname", "author"],
239
)
240
- with db_table.cursor() as cursor:
+ with con.cursor() as cursor:
241
cursor.write_dataframe(df, "book")
242
cursor.execute("select * from book; ")
243
result = cursor.fetchall()
0 commit comments