Baselight

Census Income Data Set

Predict whether income exceeds $50K/yr based on census data.

@kaggle.vivamoto_us_adult_income_update

Census
@kaggle.vivamoto_us_adult_income_update.census

  • 506 KB
  • 48842 rows
  • 15 columns
age

Age

workclass

Workclass

fnlwgt

Fnlwgt

education

Education

education_num

Education-num

marital_status

Marital-status

occupation

Occupation

relationship

Relationship

race

Race

sex

Sex

capital_gain

Capital-gain

capital_loss

Capital-loss

hours_per_week

Hours-per-week

native_country

Native-country

income

Income

25Private22680211th7Never-marriedMachine-op-inspctOwn-childBlackMale40United-States<=50K
38Private89814HS-grad9Married-civ-spouseFarming-fishingHusbandWhiteMale50United-States<=50K
28Local-gov336951Assoc-acdm12Married-civ-spouseProtective-servHusbandWhiteMale40United-States>50K
44Private160323Some-college10Married-civ-spouseMachine-op-inspctHusbandBlackMale768840United-States>50K
18?103497Some-college10Never-married?Own-childWhiteFemale30United-States<=50K
34Private19869310th6Never-marriedOther-serviceNot-in-familyWhiteMale30United-States<=50K
29?227026HS-grad9Never-married?UnmarriedBlackMale40United-States<=50K
63Self-emp-not-inc104626Prof-school15Married-civ-spouseProf-specialtyHusbandWhiteMale310332United-States>50K
24Private369667Some-college10Never-marriedOther-serviceUnmarriedWhiteFemale40United-States<=50K
55Private1049967th-8th4Married-civ-spouseCraft-repairHusbandWhiteMale10United-States<=50K

CREATE TABLE census (
  "age" BIGINT,
  "workclass" VARCHAR,
  "fnlwgt" BIGINT,
  "education" VARCHAR,
  "education_num" BIGINT,
  "marital_status" VARCHAR,
  "occupation" VARCHAR,
  "relationship" VARCHAR,
  "race" VARCHAR,
  "sex" VARCHAR,
  "capital_gain" BIGINT,
  "capital_loss" BIGINT,
  "hours_per_week" BIGINT,
  "native_country" VARCHAR,
  "income" VARCHAR
);

Share link

Anyone who has the link will be able to view this.