|
|
@ -234,7 +234,7 @@ class Components :
|
|
|
|
if name in x_cols :
|
|
|
|
if name in x_cols :
|
|
|
|
if df[name].unique().size > 0 :
|
|
|
|
if df[name].unique().size > 0 :
|
|
|
|
df[name] = self.approximate(df.iloc[i][name].fillna(0).values)
|
|
|
|
df[name] = self.approximate(df.iloc[i][name].fillna(0).values)
|
|
|
|
df[name] = df[name].astype(str)
|
|
|
|
# df[name] = df[name].astype(str)
|
|
|
|
# pass
|
|
|
|
# pass
|
|
|
|
|
|
|
|
|
|
|
|
df.index = np.arange(df.shape[0])
|
|
|
|
df.index = np.arange(df.shape[0])
|
|
|
|