Created
November 21, 2019 05:15
-
-
Save kperry2215/31c61ef4d0bfda0d3346f5eefc5ddc48 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df = pd.read_csv('https://archive.ics.uci.edu/ml/machine-learning-databases/adult/adult.data', header = None) | |
#Declare the column names of the data set | |
df.columns = ['age', 'workclass', 'fnlwgt', 'education', 'education-num', | |
'marital-status', 'occupation', 'relationship', | |
'race', 'sex', 'capital-gain', 'capital-loss', 'hours-per-week', | |
'native-country', 'salary'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment