Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pandas.DataFrame.to_sql() or cursor.copy_from() functionality #106

Open
tomasjanikds opened this issue Jun 24, 2021 · 0 comments
Open

pandas.DataFrame.to_sql() or cursor.copy_from() functionality #106

tomasjanikds opened this issue Jun 24, 2021 · 0 comments

Comments

@tomasjanikds
Copy link

Is there any simple way on how to write pandas DataFrame (or csv file) into database?
When writing dataframes to Postgres usually I use either pandas.DataFrame.to_sql() or cursor.copy_from() in psycopg2.
However, I was not able to use the similar approach with presto. Is there any way of how to achieve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant