for x in range(1,17):
df.loc[(df[x]=='n'), (x)]=float(0.0)
df.loc[(df[x]=='y'), (x)]=float(1.0)
df.loc[(df[x]=='?'), (x)]=np.nan
df.dtypes
すべてのオブジェクトを返します。なぜ私は具体的に各項目を浮動小数点数0または1または
最小と最小の2つの小数を持ち、次のコードを使って0と1の間の値を取得しようとすると、0以上の値を取得できますか? 1より? double min, max, min2, max2, mid, result;
// min2 < max2 is a subrange of min < max with min2 >= min and max2 <= max
// where max-min ma