>>> fromodoimportodo>>> importpandasaspd>>> odo('accounts.csv',pd.DataFrame)# Load csv file into DataFrame name balance0 Alice 1001 Bob 2002 Charlie 300>>> # Load CSV file into Hive database>>> odo('accounts.csv','hive://user:password@hostname/db::accounts')
↧