Answer the question
In order to leave comments, you need to log in
How to quickly port .csv to Oracle?
Hello!
Question - what are the RODBC/Pandas+Sqlalchemy productivity tools for sending .csv files to Oracle?
Let's say it looks like this in Python:
import pandas as pd
from sqlalchemy import create_engine
e = create_engine("oracle://user:[email protected]")
df = pd.read_csv("data.csv")
df.to_sql("data",e)
library(RODBC)
conn = odbcConnect("dsn","user","pass")
tab = read.csv("data.csv")
sqlSave(conn,tab,"data",fast=TRUE)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question