Closed eromoe closed 1 year ago
if X.iloc[:,i] values are all nan, features would be array([], shape=(1637, 0), dtype=float64)
array([], shape=(1637, 0), dtype=float64)
In this case, np.column_stack((all_features, features)) doesn't add new feature and doesn't throw error , unitl the last assert
np.column_stack((all_features, features))
if X.iloc[:,i] values are all nan, features would be
array([], shape=(1637, 0), dtype=float64)
In this case,
np.column_stack((all_features, features))
doesn't add new feature and doesn't throw error , unitl the last assert