赞
踩
import os
import time
from datetime import datetime
import pandas as pd
# 加载安装包 pandas、clickhouse_driver
from clickhouse_driver import Client
client = Client(host='hadoop102', port='9000', database='alibaba')
for filename in os.listdir('/home/lin/data'):
file = open('/home/lin/data/'+filename, "r")
filelist = file
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。