Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created March 15, 2021 07:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save amankharwal/ece793169ee1b1d61b154774a00b6d70 to your computer and use it in GitHub Desktop.
data["Income"] = data[["Annual Income (k$)"]]
data["Spending"] = data[["Spending Score (1-100)"]]
data = data[["Income", "Spending"]]
print(data.head())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment