Skip to content

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

@tomasjanikds

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?

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