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?
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()orcursor.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?