Skip to content
Advertisement

Tag: python

Inserting data frames to teradata by using teradatasql package

I am using teradatasql package which native solution of Teradata as a connector between python and Teradata to load data from DB. However, I want to insert data frames I created in python back to DB. Is it possible to write data frames to the database by using teradatasql package? Thanks Answer SQLAlchemy provides the linkage between pandas dataframes and

CSV to SQL, but all values are NULL

I am trying to convert a set of relational .csv files to a db with sqlite3: This runs without error and produces a database with the correct tables which have the correct columns. The rows, however, are all NULL for some reason. I have tried debugging the insertion line to see what is going on. I stepped into the executemany()

How to read JSON value in MySQL

The JSON output I need to insert into my database but my source code throws an error: The source code: Can anyone help me with this, as I need to get values for open, close, high and low. error: Answer you have 5 columns, hence 5 bind variables. Your insert template is over complicated with any database operations you should

Advertisement