Hi All
I've 2 float64 column vector with same row and i would like to combine them as a one float64 matrix.
I tried
I've 2 float64 column vector with same row and i would like to combine them as a one float64 matrix.
I tried
df.replace
from pandas and it gives me an error like this:Error:X_test= df.replace(to_replace=X_test[:,2799], value=result[:,0])
Traceback (most recent call last):
File "<ipython-input-68-b1967d57b9e4>", line 1, in <module>
X_test= df.replace(to_replace=X_test[:,2799], value=result[:,0])
NameError: name 'df' is not defined
can someone tell me where I'm doing wrong? or is there an alternative way to do this?