Standardize Data With Diffent Number Of Dimensions In Python
I have a dataframe different in the dimension of each row. As I acknowledge, I think that I should make the number of row dimensions equal to each other. So I performed sklearn.pre
You will need to replace the 'NaN' values with a number.
To replace the NaN value, use:
df.fillna(0, inplace=True)
You can change the 0 to any other number that you want to replace NaN with. After this you can apply scaling.
Post a Comment for "Standardize Data With Diffent Number Of Dimensions In Python"