Skip to content

Instantly share code, notes, and snippets.

@kxzk
Created August 9, 2019 21:37
Show Gist options
  • Save kxzk/9662bc64046c03ec17bc4fd4a50439c9 to your computer and use it in GitHub Desktop.
Save kxzk/9662bc64046c03ec17bc4fd4a50439c9 to your computer and use it in GitHub Desktop.
df["salary_minmax"] = (
df["salary"] - df["salary"].min()) / (df["salary"].max() - df["salary"].min()
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment