Re: [sqlalchemy] Copy a dataframe to postgresql database within a schema

2022-02-23 Thread Nahum Castro
Yes, you were right. thanks. El mié, 23 feb 2022 a la(s) 13:34, Mike Bayer (mike...@zzzcomputing.com) escribió: > the "from msilib import schema" import is at the top of your script. it > looks like it's there by accident. are you using vscode? I find it often > adds random package names as

Re: [sqlalchemy] Copy a dataframe to postgresql database within a schema

2022-02-23 Thread Mike Bayer
the "from msilib import schema" import is at the top of your script. it looks like it's there by accident. are you using vscode? I find it often adds random package names as it guesses from my typing. I'd remove that line. On Wed, Feb 23, 2022, at 1:54 PM, Nahum Castro wrote: > Hello All. >

[sqlalchemy] Copy a dataframe to postgresql database within a schema

2022-02-23 Thread Nahum Castro
Hello All. I have a problem when I try to load a dataframe to postgresql and store it in a schema.. from msilib import schema import pandas as pd import numpy as np import glob from sqlalchemy import create_engine from datetime import datetime, timedelta engine =