当前位置:网站首页>SQLite loads CSV files and performs data analysis

SQLite loads CSV files and performs data analysis

2022-06-26 15:26:00 MonkeyKing_ sunyuhua

csv too many files , It's hard to do data analysis , Can download sqllite To local , Import data into sqllite And do data analysis .

1、 Download and install sqlite3, Be careful windows Need to download sqllite3 Two documents of

Download address :https://www.sqlite.org/download.html
 Insert picture description here

2、 Unzip it to the same directory

 Insert picture description here

3、 take csv File import to sqlite in , There are many ways , Choose one

3.1 Click on sqllite3.exe file

3.2 Create a new one db database

.open billing-20220625.db

 Insert picture description here
3.3 Make the rules for import

.separator ','

3.4 Import csv File to database

 .import billing.csv billing

billing.csv Analytical csv File name
billing Corresponding database table name
 Insert picture description here

4、 Use Navicat And other tools sqlite, Data analysis

 Insert picture description here
 Insert picture description here

原网站

版权声明
本文为[MonkeyKing_ sunyuhua]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206261506168692.html