There is this top python library odo that I would love to use to transfer data from Pandas to my postgres db . it looks so convenient but i don't manage to use it :( .
Has someone an idea what I am missing. It must be a little thing .....
- Dataframe = df
- username: postgres
- password: password
- host : localhost
- table: table_
So i come with the following ligne of code :
import odo, pandas
.....
odo(df, 'postgresql://postgres:password@localhost::mapping_ean_asin')
I got the error:
TypeError: 'module' object is not callable
Thank you in advance for your help :)