Python beginner, import csv using genfromtxt() and converters

后端 未结 0 1859
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 23:45
import numpy as np
import csv
filename = "a.csv"

def convert(s): 
    s = s.strip().replace(\',\', \'.\')
    return str(s)

salary_data = np.genfromtxt(f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题