Skip to content

Instantly share code, notes, and snippets.

@polzerdo55862
Created July 30, 2022 08:49
Show Gist options
  • Select an option

  • Save polzerdo55862/a176ea252662df772d9e60f590d14fca to your computer and use it in GitHub Desktop.

Select an option

Save polzerdo55862/a176ea252662df772d9e60f590d14fca to your computer and use it in GitHub Desktop.
import pandas as pd
df = pd.read_csv("<https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data>",
names = ["age",
"workclass",
"fnlwgt",
"education",
"education-num",
"marital-status",
"occupation",
"relationship",
"race",
"sex",
"capital-gain",
"capital-loss",
"hours-per-week",
"native-country",
"income"],
index_col=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment