Export DataFrame to SQL table
lucasmsoares96 opened this issue · 1 comments
lucasmsoares96 commented
This is very straightforward in Python
import pandas as pd
from sqlalchemy import create_engine
engine = create_engine('postgresql://username:password@localhost:5432/mydatabase')
df=pd.read_csv('example.csv')
df.to_sql('table_name', engine)
It would be very useful to have this in the Kotlin ecosystem.
zaleslaw commented
@lucasmsoares96 thanks for the interest and user request!
It will take time, but become a part of the 0.15 or 0.16 release, I believe
I've a little bit edited the name of the issue to avoid creation of a duplicate