Skip to content

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

Description

@tomasjanikds

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions