{"part":"task","text":"# Datasets\nPass a dataset's id as the `dataset` argument.\n{\n \"id\": \"face\",\n \"rows\": 119,\n \"description\": \"Several psychologists have reported the intriguing result of an experiment showing that facial appearance predicts election outcomes better than chance. In their experiment, the researchers briefly showed student subjects the black-and-white head shots of two candidates from a US congressional election (winner and runner-up). The exposure of subjects to facial pictures lasted less than a second, and the subjects were then asked to evaluate the two candidates in terms of their perceived competence.\\nThe researchers used these competence measures to predict election outcomes. The key hypothesis is whether or not a within-a-second evaluation of facial appearance can predict election outcomes. The CSV data set, face.csv, contains the data from the experiment. Note that we include data only from subjects who did not know the candidates\u2019 political parties, their policies, or even which candidate was the incumbent or challenger. They were simply making snap judgments about which candidate appeared more competent based on their facial expression alone.\\n\\nVariable Description\\ncongress: session of Congress\\nyear: year of the election\\nstate: state of the election\\nwinner: name of the winner\\nloser: name of the runner-up\\nw.party: party of the winner\\nl.party: party of the loser\\nd.votes: number of votes for the Democratic candidate\\nr.votes: number of votes for the Republican candidate\\nd.comp: competence measure for the Democratic candidate\\nr.comp: competence measure for the Republican candidate\",\n \"columns\": {\n  \"year\": \"int64\",\n  \"state\": \"str\",\n  \"winner\": \"str\",\n  \"loser\": \"str\",\n  \"w.party\": \"str\",\n  \"l.party\": \"str\",\n  \"d.comp\": \"float64\",\n  \"r.comp\": \"float64\",\n  \"d.votes\": \"int64\",\n  \"r.votes\": \"int64\"\n }\n}"}