- 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
推薦閱讀
- Machine Learning for Cybersecurity Cookbook
- 計(jì)算機(jī)應(yīng)用復(fù)習(xí)與練習(xí)
- Cloud Analytics with Microsoft Azure
- 數(shù)控銑削(加工中心)編程與加工
- 工業(yè)機(jī)器人工程應(yīng)用虛擬仿真教程:MotoSim EG-VRC
- Windows程序設(shè)計(jì)與架構(gòu)
- Python Algorithmic Trading Cookbook
- 水晶石精粹:3ds max & ZBrush三維數(shù)字靜幀藝術(shù)
- Storm應(yīng)用實(shí)踐:實(shí)時(shí)事務(wù)處理之策略
- Google SketchUp for Game Design:Beginner's Guide
- Bayesian Analysis with Python
- Learning Apache Apex
- 基于RPA技術(shù)財(cái)務(wù)機(jī)器人的應(yīng)用與研究
- Spark大數(shù)據(jù)商業(yè)實(shí)戰(zhàn)三部曲:內(nèi)核解密|商業(yè)案例|性能調(diào)優(yōu)
- Mastering OpenStack(Second Edition)