numpyのLoadtxtを利用する際に、海外OS(Spanish)のせいか文字変換のエラーが発生
ValueError: could not convert string to float: '235.00 ;591.00 '
元のコード train = np.loadtxt("XXXXXXXXXX", delimiter=',', skiprows=1)
色々と調べたところ、file Pathの前にrの追加とdelimiterを;に変更することで解決
修正後のコード train = np.loadtxt(r'XXXXXXXXX', delimiter=';', skiprows=1)
海外OSでは、地味にcsvファイルを扱う際に色々と気を付けないといけないことを実感しました