@@ -61,8 +61,8 @@ Basic Example
6161 )
6262
6363 cursor: redshift_connector.Cursor = conn.cursor()
64- cursor.execute(" create Temp table book(bookname varchar,author varchar)" )
65- cursor.executemany(" insert into book (bookname, author ) values (%s , %s )" ,
64+ cursor.execute(" create Temp table book(bookname varchar,author varchar)" )
65+ cursor.executemany(" insert into book (bookname, author) values (%s , %s )" ,
6666 [
6767 (' One Hundred Years of Solitude' , ' Gabriel García Márquez' ),
6868 (' A Brief History of Time' , ' Stephen Hawking' )
@@ -178,8 +178,8 @@ Integration with pandas
178178.. code-block :: python
179179
180180 import pandas
181- cursor.execute(" create Temp table book(bookname varchar,author varchar)" )
182- cursor.executemany(" insert into book (bookname, author ) values (%s , %s )" ,
181+ cursor.execute(" create Temp table book(bookname varchar,author varchar)" )
182+ cursor.executemany(" insert into book (bookname, author) values (%s , %s )" ,
183183 [
184184 (' One Hundred Years of Solitude' , ' Gabriel García Márquez' ),
185185 (' A Brief History of Time' , ' Stephen Hawking' )
@@ -188,7 +188,7 @@ Integration with pandas
188188 cursor.execute(" select * from book" )
189189 result: pandas.DataFrame = cursor.fetch_dataframe()
190190 print (result)
191- >> bookname author
191+ >> bookname author
192192 >> 0 One Hundred Years of Solitude Gabriel García Márquez
193193 >> 1 A Brief History of Time Stephen Hawking
194194
0 commit comments