from elasticsearch import helpers,Elasticsearch
import csv
csvFile=r'A:\develop\APB_Production\13_APB_res\20190904_RES.csv'
csvFile1=r"A:\develop\APB_Production\13_APB_res\20190908_RES.csv"
es=Elasticsearch()
with open(csvFile1) as f:
reader=csv.DictReader(f)
helpers.bulk(es,reader,index='apb',doc_type='result')
以上导入的csv中的各个字段都是文本格式,怎样将数字以数字形式导入呢?