age
int64
17
90
workclass
stringclasses
9 values
fnlwgt
int64
12.3k
1.48M
education
stringclasses
16 values
education-num
int64
1
16
marital-status
stringclasses
7 values
occupation
stringclasses
15 values
relationship
stringclasses
6 values
race
stringclasses
5 values
sex
stringclasses
2 values
capital-gain
int64
0
100k
capital-loss
int64
0
4.36k
hours-per-week
int64
1
99
native-country
stringlengths
2
27
income
class label
2 classes
76
Private
124,191
Masters
14
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
0
40
United-States
1 >50K
44
Private
198,282
Bachelors
13
Married-civ-spouse
Exec-managerial
Husband
White
Male
15,024
0
60
United-States
1 >50K
47
Self-emp-not-inc
149,116
Masters
14
Never-married
Prof-specialty
Not-in-family
White
Female
0
0
50
United-States
0 <=50K
20
Private
188,300
Some-college
10
Never-married
Tech-support
Own-child
White
Female
0
0
40
United-States
0 <=50K
29
Private
103,432
HS-grad
9
Never-married
Craft-repair
Not-in-family
White
Male
0
0
40
United-States
0 <=50K
32
Self-emp-inc
317,660
HS-grad
9
Married-civ-spouse
Craft-repair
Husband
White
Male
7,688
0
40
United-States
1 >50K
17
?
304,873
10th
6
Never-married
?
Own-child
White
Female
34,095
0
32
United-States
0 <=50K
30
Private
194,901
11th
7
Never-married
Handlers-cleaners
Own-child
White
Male
0
0
40
United-States
0 <=50K
31
Local-gov
189,265
HS-grad
9
Never-married
Adm-clerical
Not-in-family
White
Female
0
0
40
United-States
0 <=50K
42
Private
124,692
HS-grad
9
Married-civ-spouse
Handlers-cleaners
Husband
White
Male
0
0
40
United-States
0 <=50K
24
Private
432,376
Bachelors
13
Never-married
Sales
Other-relative
White
Male
0
0
40
United-States
0 <=50K
38
Private
65,324
Prof-school
15
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
0
40
United-States
1 >50K
56
Self-emp-not-inc
335,605
HS-grad
9
Married-civ-spouse
Other-service
Husband
White
Male
0
1,887
50
Canada
1 >50K
28
Private
377,869
Some-college
10
Married-civ-spouse
Sales
Wife
White
Female
4,064
0
25
United-States
0 <=50K
36
Private
102,864
HS-grad
9
Never-married
Machine-op-inspct
Own-child
White
Female
0
0
40
United-States
0 <=50K
53
Private
95,647
9th
5
Married-civ-spouse
Handlers-cleaners
Husband
White
Male
0
0
50
United-States
0 <=50K
56
Self-emp-inc
303,090
Some-college
10
Married-civ-spouse
Sales
Husband
White
Male
0
0
50
United-States
0 <=50K
49
Local-gov
197,371
Assoc-voc
11
Married-civ-spouse
Craft-repair
Husband
Black
Male
0
0
40
United-States
1 >50K
55
Private
247,552
Some-college
10
Married-civ-spouse
Sales
Husband
White
Male
0
0
56
United-States
0 <=50K
22
Private
102,632
HS-grad
9
Never-married
Craft-repair
Not-in-family
White
Male
0
0
41
United-States
0 <=50K
21
Private
199,915
Some-college
10
Never-married
Other-service
Own-child
White
Female
0
0
40
United-States
0 <=50K
40
Private
118,853
Bachelors
13
Married-civ-spouse
Exec-managerial
Husband
White
Male
0
0
60
United-States
0 <=50K
30
Private
77,143
Bachelors
13
Never-married
Exec-managerial
Own-child
Black
Male
0
0
40
Germany
0 <=50K
29
State-gov
267,989
Bachelors
13
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
0
50
United-States
1 >50K
19
Private
301,606
Some-college
10
Never-married
Other-service
Own-child
Black
Male
0
0
35
United-States
0 <=50K
47
Private
287,828
Bachelors
13
Married-civ-spouse
Exec-managerial
Wife
White
Female
0
0
40
United-States
1 >50K
20
Private
111,697
Some-college
10
Never-married
Adm-clerical
Own-child
White
Female
0
1,719
28
United-States
0 <=50K
31
Private
114,937
Assoc-acdm
12
Married-civ-spouse
Adm-clerical
Husband
White
Male
0
0
40
United-States
1 >50K
35
?
129,305
HS-grad
9
Married-civ-spouse
?
Husband
White
Male
0
0
40
United-States
0 <=50K
39
Private
365,739
Some-college
10
Divorced
Craft-repair
Not-in-family
White
Male
0
0
40
United-States
0 <=50K
28
Private
69,621
Assoc-acdm
12
Never-married
Sales
Not-in-family
White
Female
0
0
60
United-States
0 <=50K
24
Private
43,323
HS-grad
9
Never-married
Other-service
Not-in-family
White
Female
0
1,762
40
United-States
0 <=50K
38
Self-emp-not-inc
120,985
HS-grad
9
Married-civ-spouse
Craft-repair
Husband
White
Male
4,386
0
35
United-States
0 <=50K
37
Private
254,202
Bachelors
13
Married-civ-spouse
Sales
Husband
White
Male
0
0
50
United-States
0 <=50K
46
Private
146,195
Assoc-acdm
12
Divorced
Tech-support
Not-in-family
Black
Female
0
0
36
United-States
0 <=50K
38
Federal-gov
125,933
Masters
14
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
0
40
Iran
1 >50K
43
Self-emp-not-inc
56,920
HS-grad
9
Married-civ-spouse
Craft-repair
Husband
White
Male
0
0
60
United-States
0 <=50K
27
Private
163,127
Assoc-voc
11
Married-civ-spouse
Adm-clerical
Wife
White
Female
0
0
35
United-States
0 <=50K
20
Private
34,310
Some-college
10
Never-married
Sales
Own-child
White
Male
0
0
20
United-States
0 <=50K
49
Private
81,973
Some-college
10
Married-civ-spouse
Craft-repair
Husband
Asian-Pac-Islander
Male
0
0
40
United-States
1 >50K
61
Self-emp-inc
66,614
HS-grad
9
Married-civ-spouse
Craft-repair
Husband
White
Male
0
0
40
United-States
0 <=50K
27
Private
232,782
Some-college
10
Never-married
Sales
Own-child
White
Female
0
0
40
United-States
0 <=50K
19
Private
316,868
Some-college
10
Never-married
Other-service
Own-child
White
Male
0
0
30
Mexico
0 <=50K
45
Private
196,584
Assoc-voc
11
Never-married
Prof-specialty
Not-in-family
White
Female
0
1,564
40
United-States
1 >50K
70
Private
105,376
Some-college
10
Never-married
Tech-support
Other-relative
White
Male
0
0
40
United-States
0 <=50K
31
Private
185,814
HS-grad
9
Never-married
Transport-moving
Unmarried
Black
Female
0
0
30
United-States
0 <=50K
22
Private
175,374
Some-college
10
Married-civ-spouse
Other-service
Husband
White
Male
0
0
24
United-States
0 <=50K
36
Private
108,293
HS-grad
9
Widowed
Other-service
Unmarried
White
Female
0
0
24
United-States
0 <=50K
64
Private
181,232
11th
7
Married-civ-spouse
Craft-repair
Husband
White
Male
0
2,179
40
United-States
0 <=50K
43
?
174,662
Some-college
10
Divorced
?
Not-in-family
White
Female
0
0
40
United-States
0 <=50K
47
Local-gov
186,009
Some-college
10
Divorced
Adm-clerical
Unmarried
White
Female
0
0
38
Mexico
0 <=50K
34
Private
198,183
HS-grad
9
Never-married
Adm-clerical
Not-in-family
White
Female
0
0
40
United-States
0 <=50K
33
Private
163,003
Bachelors
13
Never-married
Exec-managerial
Other-relative
Asian-Pac-Islander
Female
0
0
40
Philippines
0 <=50K
21
Private
296,158
HS-grad
9
Never-married
Craft-repair
Own-child
White
Male
0
0
35
United-States
0 <=50K
52
?
252,903
HS-grad
9
Divorced
?
Not-in-family
White
Male
0
0
45
United-States
1 >50K
48
Private
187,715
HS-grad
9
Married-civ-spouse
Craft-repair
Husband
White
Male
0
0
46
United-States
0 <=50K
23
Private
214,542
Bachelors
13
Never-married
Handlers-cleaners
Not-in-family
White
Male
0
0
40
United-States
0 <=50K
71
Self-emp-not-inc
494,223
Some-college
10
Separated
Sales
Unmarried
Black
Male
0
1,816
2
United-States
0 <=50K
29
Private
191,535
HS-grad
9
Divorced
Craft-repair
Not-in-family
White
Male
0
0
60
United-States
0 <=50K
42
Private
228,456
Bachelors
13
Separated
Other-service
Other-relative
Black
Male
0
0
50
United-States
0 <=50K
68
?
38,317
1st-4th
2
Divorced
?
Not-in-family
White
Female
0
0
20
United-States
0 <=50K
25
Private
252,752
HS-grad
9
Never-married
Other-service
Unmarried
White
Female
0
0
40
United-States
0 <=50K
44
Self-emp-inc
78,374
Masters
14
Divorced
Exec-managerial
Unmarried
Asian-Pac-Islander
Female
0
0
40
United-States
0 <=50K
28
Private
88,419
HS-grad
9
Never-married
Exec-managerial
Not-in-family
Asian-Pac-Islander
Female
0
0
40
England
0 <=50K
45
Self-emp-not-inc
201,080
Masters
14
Married-civ-spouse
Sales
Husband
White
Male
0
0
40
United-States
1 >50K
36
Private
207,157
Some-college
10
Divorced
Other-service
Unmarried
White
Female
0
0
40
Mexico
0 <=50K
39
Federal-gov
235,485
Assoc-acdm
12
Never-married
Exec-managerial
Not-in-family
White
Male
0
0
42
United-States
0 <=50K
46
State-gov
102,628
Masters
14
Widowed
Protective-serv
Unmarried
White
Male
0
0
40
United-States
0 <=50K
18
Private
25,828
11th
7
Never-married
Handlers-cleaners
Own-child
White
Male
0
0
16
United-States
0 <=50K
66
Local-gov
54,826
Assoc-voc
11
Widowed
Prof-specialty
Not-in-family
White
Female
0
0
20
United-States
0 <=50K
27
Private
124,953
HS-grad
9
Never-married
Other-service
Not-in-family
White
Male
0
1,980
40
United-States
0 <=50K
28
State-gov
175,325
HS-grad
9
Married-civ-spouse
Protective-serv
Husband
White
Male
0
0
40
United-States
0 <=50K
51
Private
96,062
Some-college
10
Married-civ-spouse
Sales
Husband
White
Male
0
1,977
40
United-States
1 >50K
27
Private
428,030
Bachelors
13
Never-married
Craft-repair
Not-in-family
White
Male
0
0
50
United-States
0 <=50K
28
State-gov
149,624
Bachelors
13
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
0
40
United-States
1 >50K
27
Private
253,814
HS-grad
9
Married-spouse-absent
Sales
Unmarried
White
Female
0
0
25
United-States
0 <=50K
21
Private
312,956
HS-grad
9
Never-married
Craft-repair
Own-child
Black
Male
0
0
40
United-States
0 <=50K
34
Private
483,777
HS-grad
9
Never-married
Handlers-cleaners
Not-in-family
Black
Male
0
0
40
United-States
0 <=50K
18
Private
183,930
HS-grad
9
Never-married
Other-service
Own-child
White
Male
0
0
12
United-States
0 <=50K
33
Private
37,274
Bachelors
13
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
0
65
United-States
0 <=50K
44
Local-gov
181,344
Some-college
10
Married-civ-spouse
Exec-managerial
Husband
Black
Male
0
0
38
United-States
1 >50K
43
Private
114,580
Some-college
10
Divorced
Adm-clerical
Not-in-family
White
Female
0
0
40
United-States
0 <=50K
30
Private
633,742
Some-college
10
Never-married
Craft-repair
Not-in-family
Black
Male
0
0
45
United-States
0 <=50K
40
Private
286,370
7th-8th
4
Married-civ-spouse
Machine-op-inspct
Husband
White
Male
0
0
40
Mexico
1 >50K
37
Federal-gov
29,054
Some-college
10
Married-civ-spouse
Adm-clerical
Husband
White
Male
0
0
42
United-States
1 >50K
34
Private
304,030
HS-grad
9
Married-civ-spouse
Adm-clerical
Husband
Black
Male
0
0
40
United-States
0 <=50K
41
Self-emp-not-inc
143,129
Bachelors
13
Divorced
Exec-managerial
Not-in-family
White
Female
0
0
40
United-States
0 <=50K
53
?
135,105
Bachelors
13
Divorced
?
Not-in-family
White
Female
0
0
50
United-States
0 <=50K
31
Private
99,928
Masters
14
Married-civ-spouse
Prof-specialty
Wife
White
Female
0
0
50
United-States
0 <=50K
58
State-gov
109,567
Doctorate
16
Married-civ-spouse
Prof-specialty
Husband
White
Male
0
0
1
United-States
1 >50K
38
Private
155,222
Some-college
10
Divorced
Machine-op-inspct
Not-in-family
Black
Female
0
0
28
United-States
0 <=50K
24
Private
159,567
Some-college
10
Married-civ-spouse
Machine-op-inspct
Husband
White
Male
0
0
40
United-States
0 <=50K
41
Local-gov
523,910
Bachelors
13
Married-civ-spouse
Craft-repair
Husband
Black
Male
0
0
40
United-States
0 <=50K
47
Private
120,939
Some-college
10
Married-civ-spouse
Tech-support
Husband
White
Male
0
0
45
United-States
0 <=50K
41
Federal-gov
130,760
Bachelors
13
Married-civ-spouse
Tech-support
Husband
White
Male
0
0
24
United-States
0 <=50K
23
Private
197,387
5th-6th
3
Married-civ-spouse
Transport-moving
Other-relative
White
Male
0
0
40
Mexico
0 <=50K
36
Private
99,374
Some-college
10
Divorced
Craft-repair
Not-in-family
White
Male
0
0
40
United-States
0 <=50K
40
Federal-gov
56,795
Masters
14
Never-married
Exec-managerial
Not-in-family
White
Female
14,084
0
55
United-States
1 >50K
35
Private
138,992
Masters
14
Married-civ-spouse
Prof-specialty
Other-relative
White
Male
7,298
0
40
United-States
1 >50K
24
Self-emp-not-inc
32,921
HS-grad
9
Never-married
Sales
Not-in-family
White
Male
0
0
40
United-States
0 <=50K