- Apache Superset Quick Start Guide
- Shashank Shekhar
- 159字
- 2021-06-10 18:34:39
Uploading a CSV
In many types of analytical work, data is available in CSV or Excel files and not in a database. You can use the Upload a CSV feature to upload CSVs as tables in Superset, without parent database integration.
We will get some real data to test this. Let's download the Ethereum transaction history from http://etherscan.io and create a new table:
curl https://etherscan.io/chart/tx?output=csv > /tmp/eth_txn.csv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 35279 0 35279 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k
# create a sqlite database to store the csv
cd ~/.superset
# this will create a sqlite database, quit after it opens the console
sqlite3 upload_csv.db
Edit Database details form
Once you have created the upload_csv database integration, make sure you select it when you are uploading the .csv file, as shown in the following screenshot:

Load CSV form
推薦閱讀
- 面向STEM的mBlock智能機(jī)器人創(chuàng)新課程
- TestStand工業(yè)自動(dòng)化測(cè)試管理(典藏版)
- SharePoint 2010開發(fā)最佳實(shí)踐
- 大學(xué)計(jì)算機(jī)應(yīng)用基礎(chǔ)
- 基于多目標(biāo)決策的數(shù)據(jù)挖掘方法評(píng)估與應(yīng)用
- 大數(shù)據(jù)處理平臺(tái)
- 基于單片機(jī)的嵌入式工程開發(fā)詳解
- Mastering Game Development with Unreal Engine 4(Second Edition)
- 計(jì)算機(jī)組成與操作系統(tǒng)
- Drupal高手建站技術(shù)手冊(cè)
- 網(wǎng)絡(luò)規(guī)劃與設(shè)計(jì)
- 探索中國(guó)物聯(lián)網(wǎng)之路
- 運(yùn)動(dòng)控制器及數(shù)控系統(tǒng)的工程應(yīng)用
- 工業(yè)機(jī)器人編程指令詳解
- Python Data Mining Quick Start Guide