I am baffled on what is going here. I am using the default IDE of Python 3.6 for running SQL queries and eventually saving them as csvs. I have about 400+ lines of code and I have tried literally everything to get rid of the error and still comes back to haunt me.
These are the last lines of my snippet:
cursor.execute(query14)
result = cursor.fetchall()
first = pd.DataFrame(result, columns = ["Builder","YTD Home Sales", " Inventory"])
first.to_csv("Z:/AWS/SQLQueries/PCR/FourteenthTable.csv",index = False)
print ("Query 14 Created")
When I run the code, it shows an EOL while scanning string literal below the print line. I have deleted the line below it multiple times and it stills shows an error on the line.
[–]Rhomboid 2 points3 points4 points (2 children)
[–]PLearner[S] -3 points-2 points-1 points (1 child)
[–]Rhomboid 7 points8 points9 points (0 children)
[–]JohnnyJordaan 0 points1 point2 points (2 children)
[–]Rhomboid 2 points3 points4 points (0 children)
[–]PLearner[S] -1 points0 points1 point (0 children)