Skip to content

Export DataFrame to SQL table #684

Open
@lucasmsoares96

Description

@lucasmsoares96

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.

Metadata

Metadata

Assignees

Labels

databasesJDBC related issuesenhancementNew feature or requestresearchThis requires a deeper dive to gather a better understanding

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions