What are the available datatypes for 'dtype' with NumPy's loadtxt() an genfromtxt?

后端 未结 3 1560
猫巷女王i
猫巷女王i 2020-12-01 00:19

What are the available numpy.loadtxt or numpy.genfromtxt for importing table data with varying datatypes, and what are the available abbreviations for the use (e.g.

3条回答
  •  眼角桃花
    2020-12-01 00:48

    for k, v in np.sctypeDict.iteritems(): print '{0:14s} : {1:40s}'.format(str(k), v)

    Q              :       
    U              : 
    a              : 
    

    etc.

提交回复
热议问题