Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

dropping original values after merging scaled values

#dropping original values merging scaled values for numerical columns
df_og = df.copy()
df = df.drop(columns = num_cols, axis = 1)
df= df.merge(scaled, left_index=True, right_index=True, how = "left")
 
PREVIOUS NEXT
Tagged: #dropping #original #values #merging #scaled #values
ADD COMMENT
Topic
Name
3+7 =