min max normalization math code example
Example: Min Max Normalization
# copy the data
df_min_max_scaled = df.copy()
# apply normalization techniques by Column 1
column = 'Column 1'
df_min_max_scaled[column] = (df_min_max_scaled[column] - df_min_max_scaled[column].min()) / (df_min_max_scaled[column].max() - df_min_max_scaled[column].min())
# view normalized data
display(df_min_max_scaled)