Quantcast
Channel: Hacker News
Viewing all articles
Browse latest Browse all 25817

Odo: Shapeshifting for your data

$
0
0
>>> 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')

Viewing all articles
Browse latest Browse all 25817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>