From faa068dfb7922b4107c53cd5a2eb35026013303a Mon Sep 17 00:00:00 2001 From: Dean Fitzgerald Date: Fri, 6 Feb 2015 11:55:37 -0500 Subject: [PATCH 1/5] Added questions to answer? --- Atus Homework.ipynb | 1034 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1034 insertions(+) create mode 100644 Atus Homework.ipynb diff --git a/Atus Homework.ipynb b/Atus Homework.ipynb new file mode 100644 index 0000000..3f57d05 --- /dev/null +++ b/Atus Homework.ipynb @@ -0,0 +1,1034 @@ +{ + "metadata": { + "name": "", + "signature": "sha256:e61a9f91bbf3b3fc42e940bb036c94481faf1e0729d10fd5af47bf96d867cc9a" + }, + "nbformat": 3, + "nbformat_minor": 0, + "worksheets": [ + { + "cells": [ + { + "cell_type": "code", + "collapsed": false, + "input": [ + "import re\n", + "import matplotlib.pyplot as plt\n", + "import pandas as pd" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 49 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "%matplotlib inline" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 50 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "summary = pd.read_csv(\"atusdata/atussum_2013/atussum_2013.dat\")\n", + "summary.info()" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "output_type": "stream", + "stream": "stdout", + "text": [ + "\n", + "Int64Index: 11385 entries, 0 to 11384\n", + "Columns: 413 entries, tucaseid to t500107\n", + "dtypes: float64(1), int64(412)\n", + "memory usage: 36.0 MB\n" + ] + } + ], + "prompt_number": 51 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "summary.columns" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 52, + "text": [ + "Index(['tucaseid', 'TUFINLWGT', 'TRYHHCHILD', 'TEAGE', 'TESEX', 'PEEDUCA', 'PTDTRACE', 'PEHSPNON', 'GTMETSTA', 'TELFS', 'TEMJOT', 'TRDPFTPT', 'TESCHENR', 'TESCHLVL', 'TRSPPRES', 'TESPEMPNOT', 'TRERNWA', 'TRCHILDNUM', 'TRSPFTPT', 'TEHRUSLT', 'TUDIARYDAY', 'TRHOLIDAY', 'TRTEC', 'TRTHH', 't010101', 't010102', 't010201', 't010299', 't010301', 't010399', 't010401', 't020101', 't020102', 't020103', 't020104', 't020199', 't020201', 't020202', 't020203', 't020299', 't020301', 't020302', 't020303', 't020399', 't020401', 't020402', 't020499', 't020501', 't020502', 't020599', 't020601', 't020602', 't020699', 't020701', 't020799', 't020801', 't020899', 't020901', 't020902', 't020903', 't020904', 't020905', 't020999', 't029999', 't030101', 't030102', 't030103', 't030104', 't030105', 't030106', 't030108', 't030109', 't030110', 't030111', 't030112', 't030199', 't030201', 't030202', 't030203', 't030299', 't030301', 't030302', 't030303', 't030399', 't030401', 't030402', 't030403', 't030404', 't030405', 't030499', 't030501', 't030502', 't030503', 't030504', 't030599', 't039999', 't040101', 't040102', 't040103', 't040104', ...], dtype='object')" + ] + } + ], + "prompt_number": 52 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "summary.head()" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
tucaseidTUFINLWGTTRYHHCHILDTEAGETESEXPEEDUCAPTDTRACEPEHSPNONGTMETSTATELFS...t181501t181599t181601t181801t189999t500101t500103t500105t500106t500107
0 20130101130004 11899905.662034 12 22 2 40 8 2 1 5... 0 0 0 0 0 0 0 0 0 0
1 20130101130112 4447638.009513 1 39 1 43 1 2 1 1... 0 0 0 0 0 0 0 0 0 0
2 20130101130123 10377056.507734 -1 47 2 40 1 2 1 4... 25 0 0 0 0 0 0 0 0 0
3 20130101130611 7731257.992805 -1 50 2 40 1 1 1 1... 0 0 0 0 0 0 0 0 0 0
4 20130101130616 4725269.227067 -1 45 2 40 2 2 1 1... 0 0 0 0 0 0 0 0 0 0
\n", + "

5 rows \u00d7 413 columns

\n", + "
" + ], + "metadata": {}, + "output_type": "pyout", + "prompt_number": 53, + "text": [ + " tucaseid TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", + "0 20130101130004 11899905.662034 12 22 2 40 \n", + "1 20130101130112 4447638.009513 1 39 1 43 \n", + "2 20130101130123 10377056.507734 -1 47 2 40 \n", + "3 20130101130611 7731257.992805 -1 50 2 40 \n", + "4 20130101130616 4725269.227067 -1 45 2 40 \n", + "\n", + " PTDTRACE PEHSPNON GTMETSTA TELFS ... t181501 t181599 t181601 \\\n", + "0 8 2 1 5 ... 0 0 0 \n", + "1 1 2 1 1 ... 0 0 0 \n", + "2 1 2 1 4 ... 25 0 0 \n", + "3 1 1 1 1 ... 0 0 0 \n", + "4 2 2 1 1 ... 0 0 0 \n", + "\n", + " t181801 t189999 t500101 t500103 t500105 t500106 t500107 \n", + "0 0 0 0 0 0 0 0 \n", + "1 0 0 0 0 0 0 0 \n", + "2 0 0 0 0 0 0 0 \n", + "3 0 0 0 0 0 0 0 \n", + "4 0 0 0 0 0 0 0 \n", + "\n", + "[5 rows x 413 columns]" + ] + } + ], + "prompt_number": 53 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "summary = summary.rename(columns = {\"tucaseid\": \"respID\"})\n", + "summary.head()" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
respIDTUFINLWGTTRYHHCHILDTEAGETESEXPEEDUCAPTDTRACEPEHSPNONGTMETSTATELFS...t181501t181599t181601t181801t189999t500101t500103t500105t500106t500107
0 20130101130004 11899905.662034 12 22 2 40 8 2 1 5... 0 0 0 0 0 0 0 0 0 0
1 20130101130112 4447638.009513 1 39 1 43 1 2 1 1... 0 0 0 0 0 0 0 0 0 0
2 20130101130123 10377056.507734 -1 47 2 40 1 2 1 4... 25 0 0 0 0 0 0 0 0 0
3 20130101130611 7731257.992805 -1 50 2 40 1 1 1 1... 0 0 0 0 0 0 0 0 0 0
4 20130101130616 4725269.227067 -1 45 2 40 2 2 1 1... 0 0 0 0 0 0 0 0 0 0
\n", + "

5 rows \u00d7 413 columns

\n", + "
" + ], + "metadata": {}, + "output_type": "pyout", + "prompt_number": 54, + "text": [ + " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", + "0 20130101130004 11899905.662034 12 22 2 40 \n", + "1 20130101130112 4447638.009513 1 39 1 43 \n", + "2 20130101130123 10377056.507734 -1 47 2 40 \n", + "3 20130101130611 7731257.992805 -1 50 2 40 \n", + "4 20130101130616 4725269.227067 -1 45 2 40 \n", + "\n", + " PTDTRACE PEHSPNON GTMETSTA TELFS ... t181501 t181599 t181601 \\\n", + "0 8 2 1 5 ... 0 0 0 \n", + "1 1 2 1 1 ... 0 0 0 \n", + "2 1 2 1 4 ... 25 0 0 \n", + "3 1 1 1 1 ... 0 0 0 \n", + "4 2 2 1 1 ... 0 0 0 \n", + "\n", + " t181801 t189999 t500101 t500103 t500105 t500106 t500107 \n", + "0 0 0 0 0 0 0 0 \n", + "1 0 0 0 0 0 0 0 \n", + "2 0 0 0 0 0 0 0 \n", + "3 0 0 0 0 0 0 0 \n", + "4 0 0 0 0 0 0 0 \n", + "\n", + "[5 rows x 413 columns]" + ] + } + ], + "prompt_number": 54 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "women = summary.TESEX == 2\n", + "no_children = (summary.TRCHILDNUM == 0)" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 55 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "childless_women = summary[women & no_children]\n", + "childless_women.head()" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
respIDTUFINLWGTTRYHHCHILDTEAGETESEXPEEDUCAPTDTRACEPEHSPNONGTMETSTATELFS...t181501t181599t181601t181801t189999t500101t500103t500105t500106t500107
2 20130101130123 10377056.507734-1 47 2 40 1 2 1 4... 25 0 0 0 0 0 0 0 0 0
3 20130101130611 7731257.992805-1 50 2 40 1 1 1 1... 0 0 0 0 0 0 0 0 0 0
4 20130101130616 4725269.227067-1 45 2 40 2 2 1 1... 0 0 0 0 0 0 0 0 0 0
5 20130101130619 2372791.046351-1 80 2 38 1 2 1 5... 0 0 0 0 0 0 0 0 0 0
7 20130101130670 8608413.296903-1 55 2 38 4 2 1 1... 0 0 0 0 0 0 0 0 120 0
\n", + "

5 rows \u00d7 413 columns

\n", + "
" + ], + "metadata": {}, + "output_type": "pyout", + "prompt_number": 56, + "text": [ + " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", + "2 20130101130123 10377056.507734 -1 47 2 40 \n", + "3 20130101130611 7731257.992805 -1 50 2 40 \n", + "4 20130101130616 4725269.227067 -1 45 2 40 \n", + "5 20130101130619 2372791.046351 -1 80 2 38 \n", + "7 20130101130670 8608413.296903 -1 55 2 38 \n", + "\n", + " PTDTRACE PEHSPNON GTMETSTA TELFS ... t181501 t181599 t181601 \\\n", + "2 1 2 1 4 ... 25 0 0 \n", + "3 1 1 1 1 ... 0 0 0 \n", + "4 2 2 1 1 ... 0 0 0 \n", + "5 1 2 1 5 ... 0 0 0 \n", + "7 4 2 1 1 ... 0 0 0 \n", + "\n", + " t181801 t189999 t500101 t500103 t500105 t500106 t500107 \n", + "2 0 0 0 0 0 0 0 \n", + "3 0 0 0 0 0 0 0 \n", + "4 0 0 0 0 0 0 0 \n", + "5 0 0 0 0 0 0 0 \n", + "7 0 0 0 0 0 120 0 \n", + "\n", + "[5 rows x 413 columns]" + ] + } + ], + "prompt_number": 56 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "playing_games = \"120307\"" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 57 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "def activity_columns(data, activity_code):\n", + " \"\"\"For the activity code given, return all columns that fall under that activity.\"\"\"\n", + " col_prefix = \"t{}\".format(activity_code)\n", + " return [column for column in data.columns if re.match(col_prefix, column)]" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 58 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "activity_columns(childless_women, \"120307\")" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 59, + "text": [ + "['t120307']" + ] + } + ], + "prompt_number": 59 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "def average_minutes(data, activity_code):\n", + " cols = activity_columns(data, activity_code)\n", + " activity_data = data[cols]\n", + " activity_sums = activity_data.sum(axis=1)\n", + " data = data[[\"TUFINLWGT\"]]\n", + " data[\"minutes\"] = activity_sums\n", + " data = data.rename(columns={\"TUFINLWGT\": \"weight\"})\n", + " data['weighted_minutes'] = data.weight * data.minutes\n", + " return data.weighted_minutes.sum() / data.weight.sum()" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 60 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "\"\"\"The number of minutes per day a woman with no children plays games. Not very much.\"\"\"\n", + "\n", + "average_minutes(childless_women, \"120307\")\n" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 69, + "text": [ + "9.4474407037000177" + ] + } + ], + "prompt_number": 69 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "group = summary.groupby([\"TEAGE\", \"TESEX\", \"TRCHILDNUM\"])" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 71 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "group.mean().xs(18).xs(2)#.xs(3)#[\"TRYHHCHILD\"]" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
respIDTUFINLWGTTRYHHCHILDPEEDUCAPTDTRACEPEHSPNONGTMETSTATELFSTEMJOTTRDPFTPT...t181501t181599t181601t181801t189999t500101t500103t500105t500106t500107
TRCHILDNUM
0 2.013065e+13 10804026.682370 -1.000000 37.666667 1.266667 1.933333 1.333333 4.133333-0.666667-0.600000... 2.333333 0 0.000000 0 1.733333 15.666667 0.133333 0 2.000000 0
1 2.013059e+13 9697337.573355 11.681818 37.954545 1.636364 1.772727 1.318182 2.590909 0.727273 0.636364... 0.454545 0 0.909091 0 1.727273 10.454545 0.000000 0 0.000000 0
2 2.013060e+13 11460978.424731 5.181818 38.000000 1.090909 1.636364 1.454545 3.272727 0.090909 0.000000... 0.000000 0 0.000000 0 0.000000 0.000000 0.000000 0 0.000000 0
3 2.013043e+13 15947859.680852 9.714286 37.428571 1.857143 1.714286 1.142857 2.571429 0.714286 0.714286... 6.428571 0 0.000000 0 0.000000 0.000000 0.000000 0 12.142857 0
4 2.013030e+13 28793206.665881 9.000000 35.000000 1.000000 2.000000 1.000000 1.000000 2.000000 1.000000... 0.000000 0 0.000000 0 0.000000 0.000000 0.000000 0 0.000000 0
\n", + "

5 rows \u00d7 410 columns

\n", + "
" + ], + "metadata": {}, + "output_type": "pyout", + "prompt_number": 87, + "text": [ + " respID TUFINLWGT TRYHHCHILD PEEDUCA PTDTRACE \\\n", + "TRCHILDNUM \n", + "0 2.013065e+13 10804026.682370 -1.000000 37.666667 1.266667 \n", + "1 2.013059e+13 9697337.573355 11.681818 37.954545 1.636364 \n", + "2 2.013060e+13 11460978.424731 5.181818 38.000000 1.090909 \n", + "3 2.013043e+13 15947859.680852 9.714286 37.428571 1.857143 \n", + "4 2.013030e+13 28793206.665881 9.000000 35.000000 1.000000 \n", + "\n", + " PEHSPNON GTMETSTA TELFS TEMJOT TRDPFTPT ... \\\n", + "TRCHILDNUM ... \n", + "0 1.933333 1.333333 4.133333 -0.666667 -0.600000 ... \n", + "1 1.772727 1.318182 2.590909 0.727273 0.636364 ... \n", + "2 1.636364 1.454545 3.272727 0.090909 0.000000 ... \n", + "3 1.714286 1.142857 2.571429 0.714286 0.714286 ... \n", + "4 2.000000 1.000000 1.000000 2.000000 1.000000 ... \n", + "\n", + " t181501 t181599 t181601 t181801 t189999 t500101 \\\n", + "TRCHILDNUM \n", + "0 2.333333 0 0.000000 0 1.733333 15.666667 \n", + "1 0.454545 0 0.909091 0 1.727273 10.454545 \n", + "2 0.000000 0 0.000000 0 0.000000 0.000000 \n", + "3 6.428571 0 0.000000 0 0.000000 0.000000 \n", + "4 0.000000 0 0.000000 0 0.000000 0.000000 \n", + "\n", + " t500103 t500105 t500106 t500107 \n", + "TRCHILDNUM \n", + "0 0.133333 0 2.000000 0 \n", + "1 0.000000 0 0.000000 0 \n", + "2 0.000000 0 0.000000 0 \n", + "3 0.000000 0 12.142857 0 \n", + "4 0.000000 0 0.000000 0 \n", + "\n", + "[5 rows x 410 columns]" + ] + } + ], + "prompt_number": 87 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Let's come up with some questions to answer.\n", + "\n", + "1. What percentage of respondents under 18 read for leisure more than 1 hour per week?\n", + "2. How many adults over 40 play games?\n", + "3. How many adults who gamble participate in religious services?\n", + "4. What percentage of the total population has children?\n", + "5. Of those who do have children, how much time do they spend with them on educational activities?" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [], + "language": "python", + "metadata": {}, + "outputs": [] + } + ], + "metadata": {} + } + ] +} \ No newline at end of file From d3bccbc51446606ad4778563afaf15eef232b240 Mon Sep 17 00:00:00 2001 From: Dean Fitzgerald Date: Sun, 8 Feb 2015 14:57:05 -0500 Subject: [PATCH 2/5] question 1 --- Atus Homework.ipynb | 369 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 344 insertions(+), 25 deletions(-) diff --git a/Atus Homework.ipynb b/Atus Homework.ipynb index 3f57d05..f12418d 100644 --- a/Atus Homework.ipynb +++ b/Atus Homework.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:e61a9f91bbf3b3fc42e940bb036c94481faf1e0729d10fd5af47bf96d867cc9a" + "signature": "sha256:29b12d28e5b1193e16ad77e42001ed272fa8d85e0cc0f2ed61b1662cf085d74b" }, "nbformat": 3, "nbformat_minor": 0, @@ -13,13 +13,14 @@ "collapsed": false, "input": [ "import re\n", + "import numpy as np\n", "import matplotlib.pyplot as plt\n", "import pandas as pd" ], "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 49 + "prompt_number": 115 }, { "cell_type": "code", @@ -30,7 +31,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 50 + "prompt_number": 116 }, { "cell_type": "code", @@ -54,7 +55,7 @@ ] } ], - "prompt_number": 51 + "prompt_number": 117 }, { "cell_type": "code", @@ -68,13 +69,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 52, + "prompt_number": 118, "text": [ "Index(['tucaseid', 'TUFINLWGT', 'TRYHHCHILD', 'TEAGE', 'TESEX', 'PEEDUCA', 'PTDTRACE', 'PEHSPNON', 'GTMETSTA', 'TELFS', 'TEMJOT', 'TRDPFTPT', 'TESCHENR', 'TESCHLVL', 'TRSPPRES', 'TESPEMPNOT', 'TRERNWA', 'TRCHILDNUM', 'TRSPFTPT', 'TEHRUSLT', 'TUDIARYDAY', 'TRHOLIDAY', 'TRTEC', 'TRTHH', 't010101', 't010102', 't010201', 't010299', 't010301', 't010399', 't010401', 't020101', 't020102', 't020103', 't020104', 't020199', 't020201', 't020202', 't020203', 't020299', 't020301', 't020302', 't020303', 't020399', 't020401', 't020402', 't020499', 't020501', 't020502', 't020599', 't020601', 't020602', 't020699', 't020701', 't020799', 't020801', 't020899', 't020901', 't020902', 't020903', 't020904', 't020905', 't020999', 't029999', 't030101', 't030102', 't030103', 't030104', 't030105', 't030106', 't030108', 't030109', 't030110', 't030111', 't030112', 't030199', 't030201', 't030202', 't030203', 't030299', 't030301', 't030302', 't030303', 't030399', 't030401', 't030402', 't030403', 't030404', 't030405', 't030499', 't030501', 't030502', 't030503', 't030504', 't030599', 't039999', 't040101', 't040102', 't040103', 't040104', ...], dtype='object')" ] } ], - "prompt_number": 52 + "prompt_number": 118 }, { "cell_type": "code", @@ -243,7 +244,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 53, + "prompt_number": 119, "text": [ " tucaseid TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -270,7 +271,7 @@ ] } ], - "prompt_number": 53 + "prompt_number": 119 }, { "cell_type": "code", @@ -440,7 +441,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 54, + "prompt_number": 120, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -467,7 +468,7 @@ ] } ], - "prompt_number": 54 + "prompt_number": 120 }, { "cell_type": "code", @@ -479,7 +480,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 55 + "prompt_number": 121 }, { "cell_type": "code", @@ -649,7 +650,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 56, + "prompt_number": 122, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "2 20130101130123 10377056.507734 -1 47 2 40 \n", @@ -676,7 +677,7 @@ ] } ], - "prompt_number": 56 + "prompt_number": 122 }, { "cell_type": "code", @@ -687,7 +688,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 57 + "prompt_number": 123 }, { "cell_type": "code", @@ -701,7 +702,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 58 + "prompt_number": 124 }, { "cell_type": "code", @@ -715,13 +716,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 59, + "prompt_number": 125, "text": [ "['t120307']" ] } ], - "prompt_number": 59 + "prompt_number": 125 }, { "cell_type": "code", @@ -740,7 +741,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 60 + "prompt_number": 126 }, { "cell_type": "code", @@ -756,13 +757,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 69, + "prompt_number": 127, "text": [ "9.4474407037000177" ] } ], - "prompt_number": 69 + "prompt_number": 127 }, { "cell_type": "code", @@ -773,7 +774,16 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 71 + "prompt_number": 128 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 128 }, { "cell_type": "code", @@ -966,7 +976,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 87, + "prompt_number": 129, "text": [ " respID TUFINLWGT TRYHHCHILD PEEDUCA PTDTRACE \\\n", "TRCHILDNUM \n", @@ -1004,7 +1014,7 @@ ] } ], - "prompt_number": 87 + "prompt_number": 129 }, { "cell_type": "markdown", @@ -1012,20 +1022,329 @@ "source": [ "Let's come up with some questions to answer.\n", "\n", - "1. What percentage of respondents under 18 read for leisure more than 1 hour per week?\n", + "1. For how many minutes do adult readers read per day?\n", "2. How many adults over 40 play games?\n", "3. How many adults who gamble participate in religious services?\n", "4. What percentage of the total population has children?\n", "5. Of those who do have children, how much time do they spend with them on educational activities?" ] }, + { + "cell_type": "heading", + "level": 3, + "metadata": {}, + "source": [ + "1. For how many minutes do adult readers read per day?\n" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "adults = summary[summary.TEAGE>=18]\n", + "adults.head()" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
respIDTUFINLWGTTRYHHCHILDTEAGETESEXPEEDUCAPTDTRACEPEHSPNONGTMETSTATELFS...t181501t181599t181601t181801t189999t500101t500103t500105t500106t500107
0 20130101130004 11899905.662034 12 22 2 40 8 2 1 5... 0 0 0 0 0 0 0 0 0 0
1 20130101130112 4447638.009513 1 39 1 43 1 2 1 1... 0 0 0 0 0 0 0 0 0 0
2 20130101130123 10377056.507734 -1 47 2 40 1 2 1 4... 25 0 0 0 0 0 0 0 0 0
3 20130101130611 7731257.992805 -1 50 2 40 1 1 1 1... 0 0 0 0 0 0 0 0 0 0
4 20130101130616 4725269.227067 -1 45 2 40 2 2 1 1... 0 0 0 0 0 0 0 0 0 0
\n", + "

5 rows \u00d7 413 columns

\n", + "
" + ], + "metadata": {}, + "output_type": "pyout", + "prompt_number": 130, + "text": [ + " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", + "0 20130101130004 11899905.662034 12 22 2 40 \n", + "1 20130101130112 4447638.009513 1 39 1 43 \n", + "2 20130101130123 10377056.507734 -1 47 2 40 \n", + "3 20130101130611 7731257.992805 -1 50 2 40 \n", + "4 20130101130616 4725269.227067 -1 45 2 40 \n", + "\n", + " PTDTRACE PEHSPNON GTMETSTA TELFS ... t181501 t181599 t181601 \\\n", + "0 8 2 1 5 ... 0 0 0 \n", + "1 1 2 1 1 ... 0 0 0 \n", + "2 1 2 1 4 ... 25 0 0 \n", + "3 1 1 1 1 ... 0 0 0 \n", + "4 2 2 1 1 ... 0 0 0 \n", + "\n", + " t181801 t189999 t500101 t500103 t500105 t500106 t500107 \n", + "0 0 0 0 0 0 0 0 \n", + "1 0 0 0 0 0 0 0 \n", + "2 0 0 0 0 0 0 0 \n", + "3 0 0 0 0 0 0 0 \n", + "4 0 0 0 0 0 0 0 \n", + "\n", + "[5 rows x 413 columns]" + ] + } + ], + "prompt_number": 130 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "average_minutes(adults, \"120312\") #avg minutes read by adults per day" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 131, + "text": [ + "20.08468254294521" + ] + } + ], + "prompt_number": 131 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "adults_and_reading = adults[[\"TEAGE\", \"t120312\"]]\n", + "adult_readers = np.nonzero(adults_and_reading[\"t120312\"])\n", + "adult_readers" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 132, + "text": [ + "(array([ 1, 2, 5, ..., 10933, 10947, 10948]),)" + ] + } + ], + "prompt_number": 132 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "for i in adult_readers:\n", + " total_read_minutes = sum(i)\n", + "\n", + "total_read_minutes / len(adult_readers[0]) / 60" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 133, + "text": [ + "91.235328159041401" + ] + } + ], + "prompt_number": 133 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Adult readers read an average of 91.23 minutes per day." + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 133 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 133 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "\n", + " \n", + "\n" + ], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 133 + }, { "cell_type": "code", "collapsed": false, "input": [], "language": "python", "metadata": {}, - "outputs": [] + "outputs": [], + "prompt_number": 133 } ], "metadata": {} From 16f709fdbf86e0888794cb36ace82d472ce269c8 Mon Sep 17 00:00:00 2001 From: Dean Fitzgerald Date: Sun, 8 Feb 2015 20:55:00 -0500 Subject: [PATCH 3/5] questions --- Atus Homework.ipynb | 663 +++++++++++++++++++++++++++----------------- 1 file changed, 406 insertions(+), 257 deletions(-) diff --git a/Atus Homework.ipynb b/Atus Homework.ipynb index f12418d..cd0e7d7 100644 --- a/Atus Homework.ipynb +++ b/Atus Homework.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:29b12d28e5b1193e16ad77e42001ed272fa8d85e0cc0f2ed61b1662cf085d74b" + "signature": "sha256:5846c9bbc01ddc1bc21f8c355528fbe03668dc9e646426542da44508a6f822c8" }, "nbformat": 3, "nbformat_minor": 0, @@ -20,7 +20,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 115 + "prompt_number": 1 }, { "cell_type": "code", @@ -31,7 +31,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 116 + "prompt_number": 2 }, { "cell_type": "code", @@ -55,7 +55,7 @@ ] } ], - "prompt_number": 117 + "prompt_number": 3 }, { "cell_type": "code", @@ -69,13 +69,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 118, + "prompt_number": 4, "text": [ "Index(['tucaseid', 'TUFINLWGT', 'TRYHHCHILD', 'TEAGE', 'TESEX', 'PEEDUCA', 'PTDTRACE', 'PEHSPNON', 'GTMETSTA', 'TELFS', 'TEMJOT', 'TRDPFTPT', 'TESCHENR', 'TESCHLVL', 'TRSPPRES', 'TESPEMPNOT', 'TRERNWA', 'TRCHILDNUM', 'TRSPFTPT', 'TEHRUSLT', 'TUDIARYDAY', 'TRHOLIDAY', 'TRTEC', 'TRTHH', 't010101', 't010102', 't010201', 't010299', 't010301', 't010399', 't010401', 't020101', 't020102', 't020103', 't020104', 't020199', 't020201', 't020202', 't020203', 't020299', 't020301', 't020302', 't020303', 't020399', 't020401', 't020402', 't020499', 't020501', 't020502', 't020599', 't020601', 't020602', 't020699', 't020701', 't020799', 't020801', 't020899', 't020901', 't020902', 't020903', 't020904', 't020905', 't020999', 't029999', 't030101', 't030102', 't030103', 't030104', 't030105', 't030106', 't030108', 't030109', 't030110', 't030111', 't030112', 't030199', 't030201', 't030202', 't030203', 't030299', 't030301', 't030302', 't030303', 't030399', 't030401', 't030402', 't030403', 't030404', 't030405', 't030499', 't030501', 't030502', 't030503', 't030504', 't030599', 't039999', 't040101', 't040102', 't040103', 't040104', ...], dtype='object')" ] } ], - "prompt_number": 118 + "prompt_number": 4 }, { "cell_type": "code", @@ -244,7 +244,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 119, + "prompt_number": 5, "text": [ " tucaseid TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -271,7 +271,7 @@ ] } ], - "prompt_number": 119 + "prompt_number": 5 }, { "cell_type": "code", @@ -441,7 +441,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 120, + "prompt_number": 6, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -468,7 +468,7 @@ ] } ], - "prompt_number": 120 + "prompt_number": 6 }, { "cell_type": "code", @@ -480,7 +480,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 121 + "prompt_number": 7 }, { "cell_type": "code", @@ -650,7 +650,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 122, + "prompt_number": 8, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "2 20130101130123 10377056.507734 -1 47 2 40 \n", @@ -677,7 +677,7 @@ ] } ], - "prompt_number": 122 + "prompt_number": 8 }, { "cell_type": "code", @@ -688,7 +688,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 123 + "prompt_number": 9 }, { "cell_type": "code", @@ -702,7 +702,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 124 + "prompt_number": 10 }, { "cell_type": "code", @@ -716,13 +716,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 125, + "prompt_number": 11, "text": [ "['t120307']" ] } ], - "prompt_number": 125 + "prompt_number": 11 }, { "cell_type": "code", @@ -741,7 +741,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 126 + "prompt_number": 12 }, { "cell_type": "code", @@ -754,16 +754,27 @@ "language": "python", "metadata": {}, "outputs": [ + { + "output_type": "stream", + "stream": "stderr", + "text": [ + "-c:6: SettingWithCopyWarning: \n", + "A value is trying to be set on a copy of a slice from a DataFrame.\n", + "Try using .loc[row_indexer,col_indexer] = value instead\n", + "\n", + "See the the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n" + ] + }, { "metadata": {}, "output_type": "pyout", - "prompt_number": 127, + "prompt_number": 13, "text": [ "9.4474407037000177" ] } ], - "prompt_number": 127 + "prompt_number": 13 }, { "cell_type": "code", @@ -774,7 +785,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 128 + "prompt_number": 14 }, { "cell_type": "code", @@ -783,238 +794,27 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 128 + "prompt_number": 14 }, { "cell_type": "code", "collapsed": false, "input": [ - "group.mean().xs(18).xs(2)#.xs(3)#[\"TRYHHCHILD\"]" + "group.mean().xs(18).xs(2).xs(3)[\"TRYHHCHILD\"]" ], "language": "python", "metadata": {}, "outputs": [ { - "html": [ - "
\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
respIDTUFINLWGTTRYHHCHILDPEEDUCAPTDTRACEPEHSPNONGTMETSTATELFSTEMJOTTRDPFTPT...t181501t181599t181601t181801t189999t500101t500103t500105t500106t500107
TRCHILDNUM
0 2.013065e+13 10804026.682370 -1.000000 37.666667 1.266667 1.933333 1.333333 4.133333-0.666667-0.600000... 2.333333 0 0.000000 0 1.733333 15.666667 0.133333 0 2.000000 0
1 2.013059e+13 9697337.573355 11.681818 37.954545 1.636364 1.772727 1.318182 2.590909 0.727273 0.636364... 0.454545 0 0.909091 0 1.727273 10.454545 0.000000 0 0.000000 0
2 2.013060e+13 11460978.424731 5.181818 38.000000 1.090909 1.636364 1.454545 3.272727 0.090909 0.000000... 0.000000 0 0.000000 0 0.000000 0.000000 0.000000 0 0.000000 0
3 2.013043e+13 15947859.680852 9.714286 37.428571 1.857143 1.714286 1.142857 2.571429 0.714286 0.714286... 6.428571 0 0.000000 0 0.000000 0.000000 0.000000 0 12.142857 0
4 2.013030e+13 28793206.665881 9.000000 35.000000 1.000000 2.000000 1.000000 1.000000 2.000000 1.000000... 0.000000 0 0.000000 0 0.000000 0.000000 0.000000 0 0.000000 0
\n", - "

5 rows \u00d7 410 columns

\n", - "
" - ], "metadata": {}, "output_type": "pyout", - "prompt_number": 129, + "prompt_number": 15, "text": [ - " respID TUFINLWGT TRYHHCHILD PEEDUCA PTDTRACE \\\n", - "TRCHILDNUM \n", - "0 2.013065e+13 10804026.682370 -1.000000 37.666667 1.266667 \n", - "1 2.013059e+13 9697337.573355 11.681818 37.954545 1.636364 \n", - "2 2.013060e+13 11460978.424731 5.181818 38.000000 1.090909 \n", - "3 2.013043e+13 15947859.680852 9.714286 37.428571 1.857143 \n", - "4 2.013030e+13 28793206.665881 9.000000 35.000000 1.000000 \n", - "\n", - " PEHSPNON GTMETSTA TELFS TEMJOT TRDPFTPT ... \\\n", - "TRCHILDNUM ... \n", - "0 1.933333 1.333333 4.133333 -0.666667 -0.600000 ... \n", - "1 1.772727 1.318182 2.590909 0.727273 0.636364 ... \n", - "2 1.636364 1.454545 3.272727 0.090909 0.000000 ... \n", - "3 1.714286 1.142857 2.571429 0.714286 0.714286 ... \n", - "4 2.000000 1.000000 1.000000 2.000000 1.000000 ... \n", - "\n", - " t181501 t181599 t181601 t181801 t189999 t500101 \\\n", - "TRCHILDNUM \n", - "0 2.333333 0 0.000000 0 1.733333 15.666667 \n", - "1 0.454545 0 0.909091 0 1.727273 10.454545 \n", - "2 0.000000 0 0.000000 0 0.000000 0.000000 \n", - "3 6.428571 0 0.000000 0 0.000000 0.000000 \n", - "4 0.000000 0 0.000000 0 0.000000 0.000000 \n", - "\n", - " t500103 t500105 t500106 t500107 \n", - "TRCHILDNUM \n", - "0 0.133333 0 2.000000 0 \n", - "1 0.000000 0 0.000000 0 \n", - "2 0.000000 0 0.000000 0 \n", - "3 0.000000 0 12.142857 0 \n", - "4 0.000000 0 0.000000 0 \n", - "\n", - "[5 rows x 410 columns]" + "9.7142857142857135" ] } ], - "prompt_number": 129 + "prompt_number": 15 }, { "cell_type": "markdown", @@ -1205,7 +1005,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 130, + "prompt_number": 16, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -1232,7 +1032,7 @@ ] } ], - "prompt_number": 130 + "prompt_number": 16 }, { "cell_type": "code", @@ -1246,13 +1046,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 131, + "prompt_number": 17, "text": [ "20.08468254294521" ] } ], - "prompt_number": 131 + "prompt_number": 17 }, { "cell_type": "code", @@ -1268,13 +1068,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 132, + "prompt_number": 18, "text": [ "(array([ 1, 2, 5, ..., 10933, 10947, 10948]),)" ] } ], - "prompt_number": 132 + "prompt_number": 18 }, { "cell_type": "code", @@ -1291,13 +1091,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 133, + "prompt_number": 19, "text": [ "91.235328159041401" ] } ], - "prompt_number": 133 + "prompt_number": 19 }, { "cell_type": "markdown", @@ -1306,36 +1106,386 @@ "Adult readers read an average of 91.23 minutes per day." ] }, + { + "cell_type": "heading", + "level": 3, + "metadata": {}, + "source": [ + "2. How many adults over 40 play games?" + ] + }, { "cell_type": "code", "collapsed": false, - "input": [], + "input": [ + "adults_over_40 = summary[summary.TEAGE>=40]\n", + "adults_over_40.head()" + ], "language": "python", "metadata": {}, - "outputs": [], - "prompt_number": 133 + "outputs": [ + { + "html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
respIDTUFINLWGTTRYHHCHILDTEAGETESEXPEEDUCAPTDTRACEPEHSPNONGTMETSTATELFS...t181501t181599t181601t181801t189999t500101t500103t500105t500106t500107
2 20130101130123 10377056.507734-1 47 2 40 1 2 1 4... 25 0 0 0 0 0 0 0 0 0
3 20130101130611 7731257.992805-1 50 2 40 1 1 1 1... 0 0 0 0 0 0 0 0 0 0
4 20130101130616 4725269.227067-1 45 2 40 2 2 1 1... 0 0 0 0 0 0 0 0 0 0
5 20130101130619 2372791.046351-1 80 2 38 1 2 1 5... 0 0 0 0 0 0 0 0 0 0
6 20130101130658 5671341.270490-1 72 1 42 1 1 1 5... 0 0 5 0 0 0 0 0 0 0
\n", + "

5 rows \u00d7 413 columns

\n", + "
" + ], + "metadata": {}, + "output_type": "pyout", + "prompt_number": 20, + "text": [ + " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", + "2 20130101130123 10377056.507734 -1 47 2 40 \n", + "3 20130101130611 7731257.992805 -1 50 2 40 \n", + "4 20130101130616 4725269.227067 -1 45 2 40 \n", + "5 20130101130619 2372791.046351 -1 80 2 38 \n", + "6 20130101130658 5671341.270490 -1 72 1 42 \n", + "\n", + " PTDTRACE PEHSPNON GTMETSTA TELFS ... t181501 t181599 t181601 \\\n", + "2 1 2 1 4 ... 25 0 0 \n", + "3 1 1 1 1 ... 0 0 0 \n", + "4 2 2 1 1 ... 0 0 0 \n", + "5 1 2 1 5 ... 0 0 0 \n", + "6 1 1 1 5 ... 0 0 5 \n", + "\n", + " t181801 t189999 t500101 t500103 t500105 t500106 t500107 \n", + "2 0 0 0 0 0 0 0 \n", + "3 0 0 0 0 0 0 0 \n", + "4 0 0 0 0 0 0 0 \n", + "5 0 0 0 0 0 0 0 \n", + "6 0 0 0 0 0 0 0 \n", + "\n", + "[5 rows x 413 columns]" + ] + } + ], + "prompt_number": 20 }, { "cell_type": "code", "collapsed": false, - "input": [], + "input": [ + "adults_over_40[\"t120307\"]\n", + "adult_gamers = adults_over_40[adults_over_40.t120307>=1]\n", + "len(adult_gamers)\n", + "\n" + ], "language": "python", "metadata": {}, - "outputs": [], - "prompt_number": 133 + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 21, + "text": [ + "633" + ] + } + ], + "prompt_number": 21 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "633 adults play games for leisure." + ] + }, + { + "cell_type": "heading", + "level": 3, + "metadata": {}, + "source": [ + "3. How many adults who gamble participate in religious services?" + ] }, { "cell_type": "code", "collapsed": false, "input": [ - "\n", - " \n", - "\n" + "group2 = summary.rename(columns = {\"t120404\": \"gambles\", \"t140102\": \"religious\"})\n", + "group2 = group2.groupby([\"TEAGE\", \"gambles\", \"religious\"])\n" ], "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 133 + "prompt_number": 32 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "group2.mean().xs(80).xs(80)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
respIDTUFINLWGTTRYHHCHILDTESEXPEEDUCAPTDTRACEPEHSPNONGTMETSTATELFSTEMJOT...t181501t181599t181601t181801t189999t500101t500103t500105t500106t500107
religious
0 2.013121e+13 7014457.281233-1 2 37 1 2 1 5-1... 0 0 0 0 0 0 0 0 0 0
\n", + "

1 rows \u00d7 410 columns

\n", + "
" + ], + "metadata": {}, + "output_type": "pyout", + "prompt_number": 36, + "text": [ + " respID TUFINLWGT TRYHHCHILD TESEX PEEDUCA PTDTRACE \\\n", + "religious \n", + "0 2.013121e+13 7014457.281233 -1 2 37 1 \n", + "\n", + " PEHSPNON GTMETSTA TELFS TEMJOT ... t181501 t181599 \\\n", + "religious ... \n", + "0 2 1 5 -1 ... 0 0 \n", + "\n", + " t181601 t181801 t189999 t500101 t500103 t500105 t500106 \\\n", + "religious \n", + "0 0 0 0 0 0 0 0 \n", + "\n", + " t500107 \n", + "religious \n", + "0 0 \n", + "\n", + "[1 rows x 410 columns]" + ] + } + ], + "prompt_number": 36 + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Looks like no one, which is weird." + ] }, { "cell_type": "code", @@ -1343,8 +1493,7 @@ "input": [], "language": "python", "metadata": {}, - "outputs": [], - "prompt_number": 133 + "outputs": [] } ], "metadata": {} From 1e2801490663b5032bdc47d78fe6388937b4b1ae Mon Sep 17 00:00:00 2001 From: Dean Fitzgerald Date: Mon, 9 Feb 2015 08:51:04 -0500 Subject: [PATCH 4/5] homework --- Atus Homework.ipynb | 1805 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 1711 insertions(+), 94 deletions(-) diff --git a/Atus Homework.ipynb b/Atus Homework.ipynb index cd0e7d7..3078201 100644 --- a/Atus Homework.ipynb +++ b/Atus Homework.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:5846c9bbc01ddc1bc21f8c355528fbe03668dc9e646426542da44508a6f822c8" + "signature": "sha256:0f8ca15326bd1d07dc2fa17d2489a0f5aba358962a2df6c1e24f4a5f189b7acd" }, "nbformat": 3, "nbformat_minor": 0, @@ -20,7 +20,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 1 + "prompt_number": 2 }, { "cell_type": "code", @@ -31,7 +31,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 2 + "prompt_number": 3 }, { "cell_type": "code", @@ -55,7 +55,7 @@ ] } ], - "prompt_number": 3 + "prompt_number": 4 }, { "cell_type": "code", @@ -69,13 +69,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 4, + "prompt_number": 5, "text": [ "Index(['tucaseid', 'TUFINLWGT', 'TRYHHCHILD', 'TEAGE', 'TESEX', 'PEEDUCA', 'PTDTRACE', 'PEHSPNON', 'GTMETSTA', 'TELFS', 'TEMJOT', 'TRDPFTPT', 'TESCHENR', 'TESCHLVL', 'TRSPPRES', 'TESPEMPNOT', 'TRERNWA', 'TRCHILDNUM', 'TRSPFTPT', 'TEHRUSLT', 'TUDIARYDAY', 'TRHOLIDAY', 'TRTEC', 'TRTHH', 't010101', 't010102', 't010201', 't010299', 't010301', 't010399', 't010401', 't020101', 't020102', 't020103', 't020104', 't020199', 't020201', 't020202', 't020203', 't020299', 't020301', 't020302', 't020303', 't020399', 't020401', 't020402', 't020499', 't020501', 't020502', 't020599', 't020601', 't020602', 't020699', 't020701', 't020799', 't020801', 't020899', 't020901', 't020902', 't020903', 't020904', 't020905', 't020999', 't029999', 't030101', 't030102', 't030103', 't030104', 't030105', 't030106', 't030108', 't030109', 't030110', 't030111', 't030112', 't030199', 't030201', 't030202', 't030203', 't030299', 't030301', 't030302', 't030303', 't030399', 't030401', 't030402', 't030403', 't030404', 't030405', 't030499', 't030501', 't030502', 't030503', 't030504', 't030599', 't039999', 't040101', 't040102', 't040103', 't040104', ...], dtype='object')" ] } ], - "prompt_number": 4 + "prompt_number": 5 }, { "cell_type": "code", @@ -244,7 +244,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 5, + "prompt_number": 6, "text": [ " tucaseid TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -271,7 +271,7 @@ ] } ], - "prompt_number": 5 + "prompt_number": 6 }, { "cell_type": "code", @@ -441,7 +441,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 6, + "prompt_number": 7, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -468,7 +468,7 @@ ] } ], - "prompt_number": 6 + "prompt_number": 7 }, { "cell_type": "code", @@ -480,7 +480,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 7 + "prompt_number": 8 }, { "cell_type": "code", @@ -650,7 +650,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 8, + "prompt_number": 9, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "2 20130101130123 10377056.507734 -1 47 2 40 \n", @@ -677,7 +677,7 @@ ] } ], - "prompt_number": 8 + "prompt_number": 9 }, { "cell_type": "code", @@ -688,7 +688,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 9 + "prompt_number": 10 }, { "cell_type": "code", @@ -702,7 +702,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 10 + "prompt_number": 11 }, { "cell_type": "code", @@ -716,13 +716,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 11, + "prompt_number": 12, "text": [ "['t120307']" ] } ], - "prompt_number": 11 + "prompt_number": 12 }, { "cell_type": "code", @@ -741,7 +741,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 12 + "prompt_number": 13 }, { "cell_type": "code", @@ -768,13 +768,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 13, + "prompt_number": 14, "text": [ "9.4474407037000177" ] } ], - "prompt_number": 13 + "prompt_number": 14 }, { "cell_type": "code", @@ -785,7 +785,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 14 + "prompt_number": 15 }, { "cell_type": "code", @@ -794,7 +794,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 14 + "prompt_number": 15 }, { "cell_type": "code", @@ -808,13 +808,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 15, + "prompt_number": 16, "text": [ "9.7142857142857135" ] } ], - "prompt_number": 15 + "prompt_number": 16 }, { "cell_type": "markdown", @@ -824,9 +824,7 @@ "\n", "1. For how many minutes do adult readers read per day?\n", "2. How many adults over 40 play games?\n", - "3. How many adults who gamble participate in religious services?\n", - "4. What percentage of the total population has children?\n", - "5. Of those who do have children, how much time do they spend with them on educational activities?" + "3. How many adults who gamble participate in religious services?" ] }, { @@ -1005,7 +1003,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 16, + "prompt_number": 17, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -1032,7 +1030,7 @@ ] } ], - "prompt_number": 16 + "prompt_number": 17 }, { "cell_type": "code", @@ -1046,13 +1044,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 17, + "prompt_number": 18, "text": [ "20.08468254294521" ] } ], - "prompt_number": 17 + "prompt_number": 18 }, { "cell_type": "code", @@ -1068,13 +1066,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 18, + "prompt_number": 19, "text": [ "(array([ 1, 2, 5, ..., 10933, 10947, 10948]),)" ] } ], - "prompt_number": 18 + "prompt_number": 19 }, { "cell_type": "code", @@ -1091,13 +1089,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 19, + "prompt_number": 20, "text": [ "91.235328159041401" ] } ], - "prompt_number": 19 + "prompt_number": 20 }, { "cell_type": "markdown", @@ -1282,7 +1280,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 20, + "prompt_number": 21, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "2 20130101130123 10377056.507734 -1 47 2 40 \n", @@ -1309,7 +1307,7 @@ ] } ], - "prompt_number": 20 + "prompt_number": 21 }, { "cell_type": "code", @@ -1326,13 +1324,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 21, + "prompt_number": 22, "text": [ "633" ] } ], - "prompt_number": 21 + "prompt_number": 22 }, { "cell_type": "markdown", @@ -1359,13 +1357,14 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 32 + "prompt_number": 23 }, { "cell_type": "code", "collapsed": false, "input": [ - "group2.mean().xs(80).xs(80)" + "adult_gamblers = group2\n", + "adult_gamblers.head()" ], "language": "python", "metadata": {}, @@ -1380,13 +1379,13 @@ " respID\n", " TUFINLWGT\n", " TRYHHCHILD\n", + " TEAGE\n", " TESEX\n", " PEEDUCA\n", " PTDTRACE\n", " PEHSPNON\n", " GTMETSTA\n", " TELFS\n", - " TEMJOT\n", " ...\n", " t181501\n", " t181599\n", @@ -1399,86 +1398,1675 @@ " t500106\n", " t500107\n", " \n", - " \n", - " religious\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", " \n", " \n", " \n", - " 0\n", - " 2.013121e+13\n", - " 7014457.281233\n", - " -1\n", + " 0 \n", + " 20130101130004\n", + " 11899905.662034\n", + " 12\n", + " 22\n", " 2\n", - " 37\n", + " 40\n", + " 8\n", + " 2\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 1 \n", + " 20130101130112\n", + " 4447638.009513\n", + " 1\n", + " 39\n", + " 1\n", + " 43\n", + " 1\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 2 \n", + " 20130101130123\n", + " 10377056.507734\n", + " -1\n", + " 47\n", + " 2\n", + " 40\n", + " 1\n", + " 2\n", + " 1\n", + " 4\n", + " ...\n", + " 25\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 3 \n", + " 20130101130611\n", + " 7731257.992805\n", + " -1\n", + " 50\n", + " 2\n", + " 40\n", + " 1\n", + " 1\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 4 \n", + " 20130101130616\n", + " 4725269.227067\n", + " -1\n", + " 45\n", + " 2\n", + " 40\n", + " 2\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 5 \n", + " 20130101130619\n", + " 2372791.046351\n", + " -1\n", + " 80\n", + " 2\n", + " 38\n", " 1\n", " 2\n", " 1\n", " 5\n", - " -1\n", " ...\n", + " 0\n", " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", " 0\n", + " \n", + " \n", + " 6 \n", + " 20130101130658\n", + " 5671341.270490\n", + " -1\n", + " 72\n", + " 1\n", + " 42\n", + " 1\n", + " 1\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", " 0\n", + " 5\n", " 0\n", + " 0\n", + " 0\n", + " 0\n", " 0\n", + " 0\n", " 0\n", + " \n", + " \n", + " 7 \n", + " 20130101130670\n", + " 8608413.296903\n", + " -1\n", + " 55\n", + " 2\n", + " 38\n", + " 4\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", " 0\n", + " 0\n", " 0\n", + " 0\n", + " 0\n", + " 0\n", " 0\n", + " 120\n", " 0\n", " \n", - " \n", - "\n", - "

1 rows \u00d7 410 columns

\n", - "" - ], + " \n", + " 8 \n", + " 20130101130734\n", + " 1378191.194810\n", + " -1\n", + " 57\n", + " 2\n", + " 34\n", + " 2\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 9 \n", + " 20130101130735\n", + " 3905483.253032\n", + " 4\n", + " 27\n", + " 2\n", + " 38\n", + " 1\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 10 \n", + " 20130101130740\n", + " 4538371.462244\n", + " 0\n", + " 59\n", + " 2\n", + " 39\n", + " 2\n", + " 2\n", + " 2\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11 \n", + " 20130101130768\n", + " 6755514.216327\n", + " 1\n", + " 31\n", + " 1\n", + " 43\n", + " 4\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 12 \n", + " 20130101130799\n", + " 13506297.294756\n", + " -1\n", + " 52\n", + " 1\n", + " 39\n", + " 1\n", + " 2\n", + " 2\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 13 \n", + " 20130101130826\n", + " 5521732.162587\n", + " 7\n", + " 42\n", + " 2\n", + " 40\n", + " 1\n", + " 2\n", + " 2\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 14 \n", + " 20130101130839\n", + " 11791654.393174\n", + " -1\n", + " 66\n", + " 1\n", + " 44\n", + " 1\n", + " 2\n", + " 2\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 15 \n", + " 20130101130867\n", + " 1801834.050978\n", + " -1\n", + " 66\n", + " 2\n", + " 39\n", + " 1\n", + " 2\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 140\n", + " 0\n", + " \n", + " \n", + " 16 \n", + " 20130101130871\n", + " 6884215.057542\n", + " -1\n", + " 45\n", + " 1\n", + " 43\n", + " 1\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 17 \n", + " 20130101130891\n", + " 12569148.198194\n", + " -1\n", + " 59\n", + " 1\n", + " 40\n", + " 1\n", + " 2\n", + " 1\n", + " 2\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 18 \n", + " 20130101130910\n", + " 14226152.054254\n", + " -1\n", + " 53\n", + " 2\n", + " 44\n", + " 1\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 19 \n", + " 20130101130970\n", + " 12301142.559951\n", + " 15\n", + " 43\n", + " 2\n", + " 39\n", + " 1\n", + " 2\n", + " 1\n", + " 4\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 20 \n", + " 20130101130996\n", + " 1102916.898147\n", + " 8\n", + " 36\n", + " 2\n", + " 42\n", + " 1\n", + " 2\n", + " 1\n", + " 4\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 21 \n", + " 20130101131007\n", + " 8128107.650758\n", + " -1\n", + " 53\n", + " 2\n", + " 40\n", + " 1\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 22 \n", + " 20130101131043\n", + " 5767745.700187\n", + " -1\n", + " 27\n", + " 1\n", + " 44\n", + " 1\n", + " 1\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 23 \n", + " 20130101131054\n", + " 9474271.417876\n", + " 4\n", + " 59\n", + " 2\n", + " 43\n", + " 2\n", + " 2\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 24 \n", + " 20130101131056\n", + " 5960041.143926\n", + " -1\n", + " 52\n", + " 1\n", + " 44\n", + " 1\n", + " 2\n", + " 2\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 25 \n", + " 20130101131066\n", + " 3157926.871281\n", + " -1\n", + " 48\n", + " 1\n", + " 39\n", + " 1\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 26 \n", + " 20130101131096\n", + " 3359410.785590\n", + " 15\n", + " 55\n", + " 2\n", + " 39\n", + " 3\n", + " 2\n", + " 2\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 27 \n", + " 20130101131099\n", + " 17547816.572228\n", + " -1\n", + " 80\n", + " 2\n", + " 40\n", + " 1\n", + " 2\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 30\n", + " 0\n", + " \n", + " \n", + " 28 \n", + " 20130101131112\n", + " 7823574.493908\n", + " 0\n", + " 24\n", + " 2\n", + " 37\n", + " 2\n", + " 2\n", + " 1\n", + " 4\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 55\n", + " 0\n", + " \n", + " \n", + " 29 \n", + " 20130101131117\n", + " 9061749.751818\n", + " 9\n", + " 49\n", + " 2\n", + " 40\n", + " 1\n", + " 1\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " ...\n", + " \n", + " \n", + " 10852\n", + " 20131211131289\n", + " 2251897.817842\n", + " -1\n", + " 61\n", + " 1\n", + " 36\n", + " 2\n", + " 2\n", + " 2\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 10898\n", + " 20131211131423\n", + " 7625931.566762\n", + " -1\n", + " 80\n", + " 1\n", + " 35\n", + " 2\n", + " 2\n", + " 2\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 120\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 10903\n", + " 20131211131441\n", + " 3966157.688151\n", + " -1\n", + " 77\n", + " 2\n", + " 44\n", + " 1\n", + " 2\n", + " 2\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 10907\n", + " 20131211131446\n", + " 6753494.571824\n", + " -1\n", + " 80\n", + " 1\n", + " 40\n", + " 1\n", + " 2\n", + " 2\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 10915\n", + " 20131211131479\n", + " 3722622.787197\n", + " -1\n", + " 64\n", + " 2\n", + " 40\n", + " 1\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 65\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 10918\n", + " 20131211131485\n", + " 4959940.260174\n", + " 13\n", + " 57\n", + " 2\n", + " 43\n", + " 4\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 75\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 10928\n", + " 20131211131503\n", + " 2257351.144585\n", + " -1\n", + " 54\n", + " 1\n", + " 37\n", + " 1\n", + " 1\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 10929\n", + " 20131211131504\n", + " 8337432.500417\n", + " -1\n", + " 77\n", + " 2\n", + " 42\n", + " 1\n", + " 2\n", + " 2\n", + " 5\n", + " ...\n", + " 15\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 60\n", + " 0\n", + " \n", + " \n", + " 10960\n", + " 20131211131616\n", + " 2777214.592965\n", + " 0\n", + " 44\n", + " 1\n", + " 41\n", + " 4\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 10990\n", + " 20131211131734\n", + " 2202356.585877\n", + " -1\n", + " 70\n", + " 2\n", + " 40\n", + " 1\n", + " 2\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 125\n", + " 0\n", + " \n", + " \n", + " 10993\n", + " 20131211131741\n", + " 13891342.373343\n", + " 4\n", + " 30\n", + " 2\n", + " 33\n", + " 1\n", + " 1\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 44\n", + " 0\n", + " 44\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 10998\n", + " 20131211131764\n", + " 6355148.116835\n", + " 1\n", + " 31\n", + " 2\n", + " 46\n", + " 1\n", + " 2\n", + " 2\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11006\n", + " 20131211131785\n", + " 33307622.668722\n", + " 12\n", + " 16\n", + " 2\n", + " 35\n", + " 2\n", + " 2\n", + " 2\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 50\n", + " 0\n", + " \n", + " \n", + " 11013\n", + " 20131211131809\n", + " 7012978.222421\n", + " -1\n", + " 77\n", + " 2\n", + " 35\n", + " 1\n", + " 2\n", + " 2\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11038\n", + " 20131211131885\n", + " 5718751.423436\n", + " -1\n", + " 61\n", + " 1\n", + " 40\n", + " 2\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11048\n", + " 20131211131909\n", + " 7387298.781870\n", + " 4\n", + " 37\n", + " 2\n", + " 43\n", + " 1\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11068\n", + " 20131211131970\n", + " 11099960.709332\n", + " -1\n", + " 66\n", + " 2\n", + " 40\n", + " 1\n", + " 2\n", + " 2\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11099\n", + " 20131211132064\n", + " 11340505.719801\n", + " -1\n", + " 85\n", + " 2\n", + " 39\n", + " 1\n", + " 2\n", + " 2\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11112\n", + " 20131211132115\n", + " 6980159.305555\n", + " 9\n", + " 16\n", + " 1\n", + " 36\n", + " 1\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 8\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 120\n", + " 0\n", + " \n", + " \n", + " 11146\n", + " 20131211132241\n", + " 24711609.273728\n", + " 14\n", + " 17\n", + " 2\n", + " 37\n", + " 2\n", + " 2\n", + " 1\n", + " 4\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11149\n", + " 20131211132253\n", + " 3168536.619599\n", + " -1\n", + " 60\n", + " 2\n", + " 44\n", + " 2\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11173\n", + " 20131211132333\n", + " 3594529.715551\n", + " -1\n", + " 63\n", + " 2\n", + " 39\n", + " 2\n", + " 2\n", + " 2\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11188\n", + " 20131211132374\n", + " 11026256.359214\n", + " -1\n", + " 46\n", + " 1\n", + " 40\n", + " 6\n", + " 1\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 45\n", + " 0\n", + " \n", + " \n", + " 11234\n", + " 20131212130039\n", + " 8025836.789506\n", + " 15\n", + " 56\n", + " 1\n", + " 40\n", + " 2\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11251\n", + " 20131212130630\n", + " 3105983.861132\n", + " -1\n", + " 85\n", + " 1\n", + " 39\n", + " 1\n", + " 2\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11300\n", + " 20131212131193\n", + " 6186658.115273\n", + " -1\n", + " 73\n", + " 2\n", + " 34\n", + " 2\n", + " 2\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 120\n", + " 0\n", + " \n", + " \n", + " 11319\n", + " 20131212131566\n", + " 3705680.234096\n", + " 4\n", + " 26\n", + " 2\n", + " 41\n", + " 1\n", + " 2\n", + " 1\n", + " 1\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11340\n", + " 20131212131883\n", + " 2755542.631494\n", + " -1\n", + " 80\n", + " 2\n", + " 43\n", + " 2\n", + " 2\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11352\n", + " 20131212132051\n", + " 8661395.066959\n", + " 7\n", + " 42\n", + " 2\n", + " 44\n", + " 1\n", + " 2\n", + " 1\n", + " 2\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 10\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " \n", + " \n", + " 11378\n", + " 20131212132437\n", + " 7548528.958862\n", + " -1\n", + " 59\n", + " 1\n", + " 40\n", + " 1\n", + " 1\n", + " 1\n", + " 5\n", + " ...\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 0\n", + " 75\n", + " 0\n", + " \n", + " \n", + "\n", + "

951 rows \u00d7 413 columns

\n", + "" + ], "metadata": {}, "output_type": "pyout", - "prompt_number": 36, + "prompt_number": 24, "text": [ - " respID TUFINLWGT TRYHHCHILD TESEX PEEDUCA PTDTRACE \\\n", - "religious \n", - "0 2.013121e+13 7014457.281233 -1 2 37 1 \n", - "\n", - " PEHSPNON GTMETSTA TELFS TEMJOT ... t181501 t181599 \\\n", - "religious ... \n", - "0 2 1 5 -1 ... 0 0 \n", + " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", + "0 20130101130004 11899905.662034 12 22 2 40 \n", + "1 20130101130112 4447638.009513 1 39 1 43 \n", + "2 20130101130123 10377056.507734 -1 47 2 40 \n", + "3 20130101130611 7731257.992805 -1 50 2 40 \n", + "4 20130101130616 4725269.227067 -1 45 2 40 \n", + "5 20130101130619 2372791.046351 -1 80 2 38 \n", + "6 20130101130658 5671341.270490 -1 72 1 42 \n", + "7 20130101130670 8608413.296903 -1 55 2 38 \n", + "8 20130101130734 1378191.194810 -1 57 2 34 \n", + "9 20130101130735 3905483.253032 4 27 2 38 \n", + "10 20130101130740 4538371.462244 0 59 2 39 \n", + "11 20130101130768 6755514.216327 1 31 1 43 \n", + "12 20130101130799 13506297.294756 -1 52 1 39 \n", + "13 20130101130826 5521732.162587 7 42 2 40 \n", + "14 20130101130839 11791654.393174 -1 66 1 44 \n", + "15 20130101130867 1801834.050978 -1 66 2 39 \n", + "16 20130101130871 6884215.057542 -1 45 1 43 \n", + "17 20130101130891 12569148.198194 -1 59 1 40 \n", + "18 20130101130910 14226152.054254 -1 53 2 44 \n", + "19 20130101130970 12301142.559951 15 43 2 39 \n", + "20 20130101130996 1102916.898147 8 36 2 42 \n", + "21 20130101131007 8128107.650758 -1 53 2 40 \n", + "22 20130101131043 5767745.700187 -1 27 1 44 \n", + "23 20130101131054 9474271.417876 4 59 2 43 \n", + "24 20130101131056 5960041.143926 -1 52 1 44 \n", + "25 20130101131066 3157926.871281 -1 48 1 39 \n", + "26 20130101131096 3359410.785590 15 55 2 39 \n", + "27 20130101131099 17547816.572228 -1 80 2 40 \n", + "28 20130101131112 7823574.493908 0 24 2 37 \n", + "29 20130101131117 9061749.751818 9 49 2 40 \n", + "... ... ... ... ... ... ... \n", + "10852 20131211131289 2251897.817842 -1 61 1 36 \n", + "10898 20131211131423 7625931.566762 -1 80 1 35 \n", + "10903 20131211131441 3966157.688151 -1 77 2 44 \n", + "10907 20131211131446 6753494.571824 -1 80 1 40 \n", + "10915 20131211131479 3722622.787197 -1 64 2 40 \n", + "10918 20131211131485 4959940.260174 13 57 2 43 \n", + "10928 20131211131503 2257351.144585 -1 54 1 37 \n", + "10929 20131211131504 8337432.500417 -1 77 2 42 \n", + "10960 20131211131616 2777214.592965 0 44 1 41 \n", + "10990 20131211131734 2202356.585877 -1 70 2 40 \n", + "10993 20131211131741 13891342.373343 4 30 2 33 \n", + "10998 20131211131764 6355148.116835 1 31 2 46 \n", + "11006 20131211131785 33307622.668722 12 16 2 35 \n", + "11013 20131211131809 7012978.222421 -1 77 2 35 \n", + "11038 20131211131885 5718751.423436 -1 61 1 40 \n", + "11048 20131211131909 7387298.781870 4 37 2 43 \n", + "11068 20131211131970 11099960.709332 -1 66 2 40 \n", + "11099 20131211132064 11340505.719801 -1 85 2 39 \n", + "11112 20131211132115 6980159.305555 9 16 1 36 \n", + "11146 20131211132241 24711609.273728 14 17 2 37 \n", + "11149 20131211132253 3168536.619599 -1 60 2 44 \n", + "11173 20131211132333 3594529.715551 -1 63 2 39 \n", + "11188 20131211132374 11026256.359214 -1 46 1 40 \n", + "11234 20131212130039 8025836.789506 15 56 1 40 \n", + "11251 20131212130630 3105983.861132 -1 85 1 39 \n", + "11300 20131212131193 6186658.115273 -1 73 2 34 \n", + "11319 20131212131566 3705680.234096 4 26 2 41 \n", + "11340 20131212131883 2755542.631494 -1 80 2 43 \n", + "11352 20131212132051 8661395.066959 7 42 2 44 \n", + "11378 20131212132437 7548528.958862 -1 59 1 40 \n", "\n", - " t181601 t181801 t189999 t500101 t500103 t500105 t500106 \\\n", - "religious \n", - "0 0 0 0 0 0 0 0 \n", + " PTDTRACE PEHSPNON GTMETSTA TELFS ... t181501 t181599 \\\n", + "0 8 2 1 5 ... 0 0 \n", + "1 1 2 1 1 ... 0 0 \n", + "2 1 2 1 4 ... 25 0 \n", + "3 1 1 1 1 ... 0 0 \n", + "4 2 2 1 1 ... 0 0 \n", + "5 1 2 1 5 ... 0 0 \n", + "6 1 1 1 5 ... 0 0 \n", + "7 4 2 1 1 ... 0 0 \n", + "8 2 2 1 1 ... 0 0 \n", + "9 1 2 1 1 ... 0 0 \n", + "10 2 2 2 1 ... 0 0 \n", + "11 4 2 1 1 ... 0 0 \n", + "12 1 2 2 1 ... 0 0 \n", + "13 1 2 2 1 ... 0 0 \n", + "14 1 2 2 5 ... 0 0 \n", + "15 1 2 1 5 ... 0 0 \n", + "16 1 2 1 1 ... 0 0 \n", + "17 1 2 1 2 ... 0 0 \n", + "18 1 2 1 1 ... 0 0 \n", + "19 1 2 1 4 ... 0 0 \n", + "20 1 2 1 4 ... 0 0 \n", + "21 1 2 1 1 ... 0 0 \n", + "22 1 1 1 1 ... 0 0 \n", + "23 2 2 1 5 ... 0 0 \n", + "24 1 2 2 1 ... 0 0 \n", + "25 1 2 1 1 ... 0 0 \n", + "26 3 2 2 5 ... 0 0 \n", + "27 1 2 1 5 ... 0 0 \n", + "28 2 2 1 4 ... 0 0 \n", + "29 1 1 1 1 ... 0 0 \n", + "... ... ... ... ... ... ... ... \n", + "10852 2 2 2 1 ... 0 0 \n", + "10898 2 2 2 5 ... 0 0 \n", + "10903 1 2 2 5 ... 0 0 \n", + "10907 1 2 2 5 ... 0 0 \n", + "10915 1 2 1 1 ... 0 0 \n", + "10918 4 2 1 1 ... 0 0 \n", + "10928 1 1 1 1 ... 0 0 \n", + "10929 1 2 2 5 ... 15 0 \n", + "10960 4 2 1 1 ... 0 0 \n", + "10990 1 2 1 5 ... 0 0 \n", + "10993 1 1 1 5 ... 0 0 \n", + "10998 1 2 2 1 ... 0 0 \n", + "11006 2 2 2 1 ... 0 0 \n", + "11013 1 2 2 5 ... 0 0 \n", + "11038 2 2 1 1 ... 0 0 \n", + "11048 1 2 1 1 ... 0 0 \n", + "11068 1 2 2 5 ... 0 0 \n", + "11099 1 2 2 5 ... 0 0 \n", + "11112 1 2 1 1 ... 0 8 \n", + "11146 2 2 1 4 ... 0 0 \n", + "11149 2 2 1 1 ... 0 0 \n", + "11173 2 2 2 5 ... 0 0 \n", + "11188 6 1 1 1 ... 0 0 \n", + "11234 2 2 1 1 ... 0 0 \n", + "11251 1 2 1 5 ... 0 0 \n", + "11300 2 2 1 5 ... 0 0 \n", + "11319 1 2 1 1 ... 0 0 \n", + "11340 2 2 1 5 ... 0 0 \n", + "11352 1 2 1 2 ... 0 0 \n", + "11378 1 1 1 5 ... 0 0 \n", "\n", - " t500107 \n", - "religious \n", - "0 0 \n", + " t181601 t181801 t189999 t500101 t500103 t500105 t500106 t500107 \n", + "0 0 0 0 0 0 0 0 0 \n", + "1 0 0 0 0 0 0 0 0 \n", + "2 0 0 0 0 0 0 0 0 \n", + "3 0 0 0 0 0 0 0 0 \n", + "4 0 0 0 0 0 0 0 0 \n", + "5 0 0 0 0 0 0 0 0 \n", + "6 5 0 0 0 0 0 0 0 \n", + "7 0 0 0 0 0 0 120 0 \n", + "8 0 0 0 0 0 0 0 0 \n", + "9 0 0 0 0 0 0 0 0 \n", + "10 0 0 0 0 0 0 0 0 \n", + "11 0 0 0 0 0 0 0 0 \n", + "12 0 0 0 0 0 0 0 0 \n", + "13 0 0 0 0 0 0 0 0 \n", + "14 0 0 0 0 0 0 0 0 \n", + "15 0 0 0 0 0 0 140 0 \n", + "16 0 0 0 0 0 0 0 0 \n", + "17 0 0 0 0 0 0 0 0 \n", + "18 0 0 0 0 0 0 0 0 \n", + "19 0 0 0 0 0 0 0 0 \n", + "20 0 0 0 0 0 0 0 0 \n", + "21 0 0 0 0 0 0 0 0 \n", + "22 0 0 0 0 0 0 0 0 \n", + "23 0 0 0 0 0 0 0 0 \n", + "24 0 0 0 0 0 0 0 0 \n", + "25 0 0 0 0 0 0 0 0 \n", + "26 0 0 0 0 0 0 0 0 \n", + "27 0 0 0 0 0 0 30 0 \n", + "28 0 0 0 0 0 0 55 0 \n", + "29 0 0 0 0 0 0 0 0 \n", + "... ... ... ... ... ... ... ... ... \n", + "10852 0 0 0 0 0 0 0 0 \n", + "10898 0 0 0 120 0 0 0 0 \n", + "10903 0 0 0 0 0 0 0 0 \n", + "10907 0 0 0 0 0 0 0 0 \n", + "10915 0 0 0 65 0 0 0 0 \n", + "10918 75 0 0 0 0 0 0 0 \n", + "10928 0 0 0 0 0 0 0 0 \n", + "10929 0 0 0 0 0 0 60 0 \n", + "10960 0 0 0 0 0 0 0 0 \n", + "10990 0 0 0 0 0 0 125 0 \n", + "10993 0 0 44 0 44 0 0 0 \n", + "10998 0 0 0 0 0 0 0 0 \n", + "11006 0 0 0 0 0 0 50 0 \n", + "11013 0 0 0 0 0 0 0 0 \n", + "11038 0 0 0 0 0 0 0 0 \n", + "11048 0 0 0 0 0 0 0 0 \n", + "11068 0 0 0 0 0 0 0 0 \n", + "11099 0 0 0 0 0 0 0 0 \n", + "11112 0 0 0 0 0 0 120 0 \n", + "11146 0 0 0 0 0 0 0 0 \n", + "11149 0 0 0 0 0 0 0 0 \n", + "11173 0 0 0 0 0 0 0 0 \n", + "11188 0 0 0 0 0 0 45 0 \n", + "11234 0 0 0 0 0 0 0 0 \n", + "11251 0 0 0 0 0 0 0 0 \n", + "11300 0 0 0 0 0 0 120 0 \n", + "11319 0 0 0 0 0 0 0 0 \n", + "11340 0 0 0 0 0 0 0 0 \n", + "11352 0 0 0 10 0 0 0 0 \n", + "11378 0 0 0 0 0 0 75 0 \n", "\n", - "[1 rows x 410 columns]" + "[951 rows x 413 columns]" ] } ], - "prompt_number": 36 + "prompt_number": 24 }, { "cell_type": "markdown", @@ -1487,13 +3075,42 @@ "Looks like no one, which is weird." ] }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "adult_gamers.t120307.plot()" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "metadata": {}, + "output_type": "pyout", + "prompt_number": 25, + "text": [ + "" + ] + }, + { + "metadata": {}, + "output_type": "display_data", + "png": "iVBORw0KGgoAAAANSUhEUgAAAXMAAAEACAYAAABBDJb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0FEzKm9gE/Uk2Uyzf8EJn8fsFV9cWrCsvpi1er4Sov/n3gaj2L46aUePedxKiJeiohPI+KF\niLhAh66llJ/wFL5TZ5v9XEr5QIeuA6bpdualyFLKH/glIlZ92X4cMpmfIxGxCW/hoVLKb8N1ztZK\nYgAAAa1JREFUpV621/WT5Yi4EydLKYex5rzWHjwbM9iu3j5vx+94YrhBL64RcTkeVnuvW7EpIu4d\nbtOL61r07JbJ/ByIiA1qIt9bSlls4RMRsbmt34KTLb6CwZ9f2aZe9VdafRifwvfypsaNuCsivsWr\nuC0i9urPk9rO5VLKobb8pprcj3foei0+KqX82HqWb+MGfbpOmMY5uzzY57J2rBnMtrud0clk/g+J\niMCLOFpKeWawap/6IEn7XRzEd0XEeRExjytwsJRyHL+2WROB3YN9RqeUsqeUcmkpZV4dM/ywlLJb\nZ57Q2vh9RFzZQgv4Qh1P7spVHT/eERHntzYu4Kg+XSdM45x9Z41j3Y2/+S7rf8jYg/brreAmdQz5\nMxxuZaf6YOkAvsL7uHCwzx71SfkS7hjEr8GRtu7Zsd3+wvkWZ2ezdOmJq3AIn6u91dmOXR9TL1ZH\n1Fk8G3pxVe8if8BpdWz7/mm6YSPewNf4GHNjO09KvjSUJEnSATnMkiRJ0gGZzJMkSTogk3mSJEkH\nZDJPkiTpgEzmSZIkHZDJPEmSpAMymSdJknRAJvMkSZIO+BPJ6vm3rIb9uAAAAABJRU5ErkJggg==\n", + "text": [ + "" + ] + } + ], + "prompt_number": 25 + }, { "cell_type": "code", "collapsed": false, "input": [], "language": "python", "metadata": {}, - "outputs": [] + "outputs": [], + "prompt_number": 26 } ], "metadata": {} From d9d7d0f64dce23aa08b2ef0582e3d5b986d98ca0 Mon Sep 17 00:00:00 2001 From: Dean Fitzgerald Date: Tue, 19 May 2015 16:35:52 -0400 Subject: [PATCH 5/5] review and doc strings --- Atus Homework.ipynb | 2373 +++++++++++++++++++++++++++++++++++++++++- Starting Point.ipynb | 144 +-- 2 files changed, 2380 insertions(+), 137 deletions(-) diff --git a/Atus Homework.ipynb b/Atus Homework.ipynb index 3078201..ed7bc50 100644 --- a/Atus Homework.ipynb +++ b/Atus Homework.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:0f8ca15326bd1d07dc2fa17d2489a0f5aba358962a2df6c1e24f4a5f189b7acd" + "signature": "sha256:623b30869eb2693d9233474fe414d83dd3ffbd8b8ebf1474db371a527a160244" }, "nbformat": 3, "nbformat_minor": 0, @@ -20,7 +20,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 2 + "prompt_number": 34 }, { "cell_type": "code", @@ -31,7 +31,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 3 + "prompt_number": 35 }, { "cell_type": "code", @@ -55,7 +55,7 @@ ] } ], - "prompt_number": 4 + "prompt_number": 36 }, { "cell_type": "code", @@ -69,13 +69,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 5, + "prompt_number": 37, "text": [ "Index(['tucaseid', 'TUFINLWGT', 'TRYHHCHILD', 'TEAGE', 'TESEX', 'PEEDUCA', 'PTDTRACE', 'PEHSPNON', 'GTMETSTA', 'TELFS', 'TEMJOT', 'TRDPFTPT', 'TESCHENR', 'TESCHLVL', 'TRSPPRES', 'TESPEMPNOT', 'TRERNWA', 'TRCHILDNUM', 'TRSPFTPT', 'TEHRUSLT', 'TUDIARYDAY', 'TRHOLIDAY', 'TRTEC', 'TRTHH', 't010101', 't010102', 't010201', 't010299', 't010301', 't010399', 't010401', 't020101', 't020102', 't020103', 't020104', 't020199', 't020201', 't020202', 't020203', 't020299', 't020301', 't020302', 't020303', 't020399', 't020401', 't020402', 't020499', 't020501', 't020502', 't020599', 't020601', 't020602', 't020699', 't020701', 't020799', 't020801', 't020899', 't020901', 't020902', 't020903', 't020904', 't020905', 't020999', 't029999', 't030101', 't030102', 't030103', 't030104', 't030105', 't030106', 't030108', 't030109', 't030110', 't030111', 't030112', 't030199', 't030201', 't030202', 't030203', 't030299', 't030301', 't030302', 't030303', 't030399', 't030401', 't030402', 't030403', 't030404', 't030405', 't030499', 't030501', 't030502', 't030503', 't030504', 't030599', 't039999', 't040101', 't040102', 't040103', 't040104', ...], dtype='object')" ] } ], - "prompt_number": 5 + "prompt_number": 37 }, { "cell_type": "code", @@ -244,7 +244,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 6, + "prompt_number": 38, "text": [ " tucaseid TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -271,7 +271,7 @@ ] } ], - "prompt_number": 6 + "prompt_number": 38 }, { "cell_type": "code", @@ -441,7 +441,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 7, + "prompt_number": 39, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -468,7 +468,7 @@ ] } ], - "prompt_number": 7 + "prompt_number": 39 }, { "cell_type": "code", @@ -480,7 +480,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 8 + "prompt_number": 40 }, { "cell_type": "code", @@ -650,7 +650,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 9, + "prompt_number": 41, "text": [ " respID TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "2 20130101130123 10377056.507734 -1 47 2 40 \n", @@ -677,7 +677,7 @@ ] } ], - "prompt_number": 9 + "prompt_number": 41 }, { "cell_type": "code", @@ -688,7 +688,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 10 + "prompt_number": 42 }, { "cell_type": "code", @@ -702,7 +702,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 11 + "prompt_number": 43 }, { "cell_type": "code", @@ -716,13 +716,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 12, + "prompt_number": 44, "text": [ "['t120307']" ] } ], - "prompt_number": 12 + "prompt_number": 44 }, { "cell_type": "code", @@ -741,7 +741,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 13 + "prompt_number": 46 }, { "cell_type": "code", @@ -749,32 +749,30 @@ "input": [ "\"\"\"The number of minutes per day a woman with no children plays games. Not very much.\"\"\"\n", "\n", - "average_minutes(childless_women, \"120307\")\n" + "childless_women_game_time = average_minutes(childless_women, \"120307\")\n", + "print (childless_women_game_time)" ], "language": "python", "metadata": {}, "outputs": [ { "output_type": "stream", - "stream": "stderr", - "text": [ - "-c:6: SettingWithCopyWarning: \n", - "A value is trying to be set on a copy of a slice from a DataFrame.\n", - "Try using .loc[row_indexer,col_indexer] = value instead\n", - "\n", - "See the the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n" - ] - }, - { - "metadata": {}, - "output_type": "pyout", - "prompt_number": 14, + "stream": "stdout", "text": [ - "9.4474407037000177" + "9.4474407037\n" ] } ], - "prompt_number": 14 + "prompt_number": 51 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [], + "language": "python", + "metadata": {}, + "outputs": [], + "prompt_number": 52 }, { "cell_type": "code", @@ -785,21 +783,2316 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 15 + "prompt_number": 48 }, { "cell_type": "code", "collapsed": false, - "input": [], + "input": [ + "group.mean()\n" + ], "language": "python", "metadata": {}, - "outputs": [], - "prompt_number": 15 + "outputs": [ + { + "html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
respIDTUFINLWGTTRYHHCHILDPEEDUCAPTDTRACEPEHSPNONGTMETSTATELFSTEMJOTTRDPFTPT...t181501t181599t181601t181801t189999t500101t500103t500105t500106t500107
TEAGETESEXTRCHILDNUM
1511 2.013063e+13 10279004.678881 15.000000 35.157895 1.842105 1.842105 1.157895 4.789474-0.842105-0.842105... 0.000000 0.000000 0.000000 0 1.315789 20.157895 11.052632 0.0 0.000000 0.000000
2 2.013066e+13 8094486.932688 11.733333 35.133333 1.133333 1.800000 1.066667 4.666667-0.800000-0.800000... 3.000000 0.000000 0.000000 0 0.333333 1.466667 0.000000 0.0 0.000000 0.000000
3 2.013056e+13 13751422.077139 7.000000 34.846154 1.923077 1.692308 1.230769 4.384615-0.538462-0.538462... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
4 2.013050e+13 11292383.376507 5.333333 33.666667 1.000000 2.000000 1.333333 3.666667-0.333333 0.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 10.000000 0.000000
6 2.013081e+13 6890966.927239 6.000000 34.000000 1.000000 2.000000 2.000000 1.000000 2.000000 1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
21 2.013055e+13 12272900.036671 15.000000 34.947368 1.368421 1.789474 1.210526 4.473684-0.684211-0.684211... 2.105263 0.000000 1.578947 0 0.000000 3.157895 0.000000 0.0 1.052632 0.000000
2 2.013060e+13 9062141.659996 11.894737 34.736842 2.052632 1.842105 1.263158 4.578947-0.684211-0.684211... 0.000000 0.000000 0.526316 0 0.000000 16.578947 0.000000 0.0 0.000000 0.000000
3 2.013063e+13 13902438.951538 8.615385 34.615385 1.307692 1.923077 1.230769 4.000000-0.307692-0.307692... 2.307692 0.000000 0.000000 0 7.307692 52.307692 7.692308 0.0 8.461538 0.000000
5 2.013061e+13 18179294.679242 5.500000 34.500000 1.500000 2.000000 1.000000 4.500000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 15.000000 0.000000 0.0 0.000000 0.000000
7 2.013081e+13 10183678.787286 1.000000 34.000000 2.000000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 40.000000 95.000000 0.000000 0.0 0.000000 0.000000
1611 2.013072e+13 9958820.093145 16.000000 35.857143 1.928571 1.928571 1.166667 4.261905-0.571429-0.595238... 1.190476 0.000000 0.476190 0 0.595238 0.833333 0.000000 0.0 4.047619 0.000000
2 2.013067e+13 12025809.166927 11.523810 35.238095 1.476190 1.809524 1.047619 4.047619-0.428571-0.428571... 0.000000 0.000000 0.000000 0 0.000000 13.952381 0.000000 0.0 6.904762 0.142857
3 2.013076e+13 8701801.338309 7.500000 35.833333 1.333333 1.750000 1.333333 4.083333-0.500000-0.583333... 0.000000 0.000000 0.000000 0 0.000000 1.833333 0.000000 0.0 0.000000 0.000000
4 2.013049e+13 12487347.714377 7.714286 36.000000 1.000000 1.714286 1.285714 3.428571-0.285714-0.142857... 0.000000 1.142857 0.000000 0 3.571429 0.000000 0.000000 0.0 48.571429 0.000000
5 2.013020e+13 9863692.390190 6.000000 35.000000 1.000000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
6 2.013081e+13 30910049.370498 8.000000 36.000000 1.000000 1.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 20.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
7 2.013020e+13 36807895.774479 1.000000 35.000000 2.000000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
21 2.013060e+13 10489526.525594 16.000000 35.589744 1.282051 1.769231 1.128205 3.794872-0.333333-0.307692... 1.666667 0.000000 0.000000 0 0.538462 4.358974 0.000000 0.0 0.641026 0.000000
2 2.013062e+13 10588283.573240 11.964286 35.642857 1.321429 1.821429 1.142857 3.571429 0.071429-0.035714... 0.178571 0.000000 0.000000 0 0.392857 11.678571 0.642857 0.0 3.750000 0.000000
3 2.013039e+13 7753776.534449 8.500000 35.666667 1.000000 1.500000 1.000000 4.833333-1.000000-1.000000... 0.833333 0.000000 0.000000 0 5.000000 25.000000 0.000000 0.0 4.666667 0.000000
4 2.013087e+13 21188890.409103 2.200000 35.000000 1.000000 1.800000 1.400000 3.200000 0.200000 0.200000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 12.000000 0.000000
5 2.013040e+13 9307406.132978 8.000000 36.000000 1.000000 2.000000 1.000000 1.000000 2.000000 2.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
1711 2.013077e+13 13044819.609185 17.000000 36.410256 1.282051 1.769231 1.153846 3.589744-0.128205-0.179487... 2.564103 0.000000 0.000000 0 4.333333 16.025641 6.923077 0.0 0.000000 0.000000
2 2.013072e+13 8482124.323941 11.523810 36.571429 1.476190 1.857143 1.142857 3.761905-0.285714-0.285714... 1.190476 0.000000 0.000000 0 0.000000 2.857143 5.714286 0.0 6.095238 0.000000
3 2.013050e+13 10215423.155919 7.307692 36.384615 2.230769 1.538462 1.461538 3.384615 0.076923 0.153846... 0.000000 0.000000 0.000000 0 2.384615 19.615385 0.000000 0.0 2.307692 0.000000
4 2.013085e+13 5659440.635487 7.600000 36.800000 3.600000 2.000000 1.400000 3.400000 0.200000 0.200000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
5 2.013056e+13 14599966.015244 4.000000 38.000000 1.000000 1.500000 1.000000 2.500000 0.500000 0.500000... 0.000000 0.000000 0.000000 0 0.000000 75.000000 0.000000 0.0 0.000000 0.000000
21 2.013070e+13 13212095.516892 17.000000 36.676471 1.529412 1.764706 1.117647 3.588235-0.147059-0.147059... 0.735294 0.000000 0.000000 0 0.882353 14.705882 0.147059 0.0 0.000000 0.000000
2 2.013058e+13 13112969.438599 12.066667 36.700000 1.600000 1.866667 1.266667 3.333333 0.066667 0.100000... 0.833333 0.000000 0.000000 0 1.900000 2.966667 4.000000 0.0 2.000000 0.500000
3 2.013052e+13 12706768.566471 8.615385 36.615385 1.615385 1.615385 1.076923 4.461538-0.769231-0.769231... 2.461538 0.000000 1.153846 0 0.000000 0.000000 0.000000 0.0 5.230769 0.000000
........................................................................
7513 2.013111e+13 10890200.877241 7.000000 32.000000 1.000000 1.000000 1.000000 5.000000-1.000000-1.000000... 90.000000 0.000000 0.000000 0 0.000000 60.000000 0.000000 0.0 0.000000 0.000000
20 2.013067e+13 8265995.008510 -1.000000 39.224490 1.346939 1.897959 1.244898 4.836735-0.877551-0.877551... 2.591837 0.000000 0.000000 0 1.040816 8.102041 0.816327 0.0 13.265306 0.000000
7610 2.013060e+13 5335807.641926 -1.000000 40.142857 1.342857 1.914286 1.200000 4.428571-0.571429-0.600000... 0.857143 0.000000 0.000000 0 2.285714 18.142857 0.000000 0.0 3.857143 0.000000
1 2.013121e+13 4116620.437832 4.000000 40.000000 1.000000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
20 2.013056e+13 6244722.925011 -1.000000 39.121212 1.272727 1.878788 1.333333 4.515152-0.636364-0.696970... 3.848485 0.000000 0.000000 0 0.606061 0.000000 21.060606 0.0 11.818182 0.000000
1 2.013069e+13 5799066.464787 7.000000 40.600000 1.200000 2.000000 1.200000 4.200000-0.400000-0.400000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 12.000000 0.000000
2 2.013111e+13 7821688.412099 8.000000 40.000000 1.000000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
3 2.013061e+13 5189241.067064 1.000000 36.000000 1.000000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
7710 2.013064e+13 7071554.382711 -1.000000 40.972222 1.055556 1.916667 1.111111 4.444444-0.611111-0.611111... 1.111111 0.000000 0.416667 0 1.805556 1.611111 0.555556 0.0 2.500000 0.555556
2 2.013011e+13 3616078.174585 3.000000 42.000000 1.000000 1.000000 1.000000 1.000000 2.000000 2.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
20 2.013069e+13 6388752.512759 -1.000000 39.451613 1.306452 1.935484 1.241935 4.629032-0.709677-0.741935... 0.967742 0.000000 0.000000 0 0.000000 10.645161 2.032258 0.0 8.870968 0.000000
1 2.013060e+13 4975200.258271 8.500000 37.500000 1.500000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 27.500000 0.000000
2 2.013061e+13 2532751.486470 6.000000 43.000000 1.000000 1.000000 1.000000 1.000000 2.000000 1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
4 2.013091e+13 5267776.632156 10.000000 33.000000 1.000000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
7810 2.013069e+13 7952631.156018 -1.000000 40.193548 1.258065 1.870968 1.290323 4.419355-0.612903-0.709677... 0.225806 0.000000 0.000000 0 2.096774 3.870968 0.000000 0.0 15.322581 3.870968
20 2.013070e+13 5865090.034316 -1.000000 39.708333 1.250000 1.958333 1.125000 4.916667-0.937500-0.937500... 0.208333 0.000000 0.000000 0 0.312500 5.000000 4.062500 2.5 5.083333 4.166667
1 2.013021e+13 5327408.486902 16.000000 39.500000 1.000000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
2 2.013096e+13 9648490.535014 11.000000 38.500000 2.500000 2.000000 1.500000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
7910 2.013054e+13 6340895.131921 -1.000000 39.483871 1.354839 1.806452 1.096774 4.322581-0.516129-0.645161... 0.225806 0.000000 0.000000 0 1.290323 9.645161 0.806452 0.0 6.129032 0.000000
20 2.013054e+13 5100972.251078 -1.000000 39.195652 1.108696 1.913043 1.282609 4.717391-0.826087-0.804348... 2.326087 0.000000 0.000000 0 0.434783 5.000000 0.000000 0.0 11.695652 0.000000
8010 2.013066e+13 7194282.636861 -1.000000 40.096774 1.258065 1.951613 1.338710 4.508065-0.645161-0.725806... 0.943548 0.000000 0.000000 0 1.911290 12.677419 0.475806 0.0 8.145161 0.056452
1 2.013020e+13 8846377.157919 9.000000 39.000000 1.000000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
2 2.013096e+13 7854218.587919 11.000000 42.000000 1.500000 2.000000 1.000000 1.000000 1.500000 1.000000... 0.000000 0.000000 0.000000 0 0.000000 45.000000 68.000000 4.0 15.000000 0.000000
3 2.013071e+13 16447870.975828 4.500000 36.000000 1.500000 1.500000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
20 2.013065e+13 6347391.767688 -1.000000 39.396313 1.221198 1.930876 1.248848 4.811060-0.861751-0.880184... 0.548387 0.000000 0.000000 0 0.511521 14.396313 1.843318 0.0 10.451613 0.460829
1 2.013083e+13 6563510.215992 9.833333 39.500000 1.500000 1.833333 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 5.000000 0.000000 0.0 5.000000 0.000000
8510 2.013069e+13 6715764.430195 -1.000000 39.500000 1.141304 1.956522 1.173913 4.739130-0.815217-0.826087... 1.152174 0.000000 0.000000 0 0.000000 12.391304 0.000000 0.0 9.108696 0.000000
20 2.013065e+13 5771982.326075 -1.000000 39.466258 1.325153 1.926380 1.263804 4.975460-0.981595-0.981595... 0.245399 0.012270 0.000000 0 0.920245 6.134969 0.184049 0.0 10.042945 0.092025
1 2.013021e+13 3932529.629927 11.500000 38.500000 1.000000 1.750000 1.500000 4.750000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 7.500000 0.000000 0.0 16.250000 0.000000
2 2.013011e+13 6006887.538735 0.000000 34.000000 2.000000 2.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0.000000 0.000000 0 0.000000 0.000000 0.000000 0.0 0.000000 0.000000
\n", + "

589 rows \u00d7 410 columns

\n", + "
" + ], + "metadata": {}, + "output_type": "pyout", + "prompt_number": 56, + "text": [ + " respID TUFINLWGT TRYHHCHILD PEEDUCA \\\n", + "TEAGE TESEX TRCHILDNUM \n", + "15 1 1 2.013063e+13 10279004.678881 15.000000 35.157895 \n", + " 2 2.013066e+13 8094486.932688 11.733333 35.133333 \n", + " 3 2.013056e+13 13751422.077139 7.000000 34.846154 \n", + " 4 2.013050e+13 11292383.376507 5.333333 33.666667 \n", + " 6 2.013081e+13 6890966.927239 6.000000 34.000000 \n", + " 2 1 2.013055e+13 12272900.036671 15.000000 34.947368 \n", + " 2 2.013060e+13 9062141.659996 11.894737 34.736842 \n", + " 3 2.013063e+13 13902438.951538 8.615385 34.615385 \n", + " 5 2.013061e+13 18179294.679242 5.500000 34.500000 \n", + " 7 2.013081e+13 10183678.787286 1.000000 34.000000 \n", + "16 1 1 2.013072e+13 9958820.093145 16.000000 35.857143 \n", + " 2 2.013067e+13 12025809.166927 11.523810 35.238095 \n", + " 3 2.013076e+13 8701801.338309 7.500000 35.833333 \n", + " 4 2.013049e+13 12487347.714377 7.714286 36.000000 \n", + " 5 2.013020e+13 9863692.390190 6.000000 35.000000 \n", + " 6 2.013081e+13 30910049.370498 8.000000 36.000000 \n", + " 7 2.013020e+13 36807895.774479 1.000000 35.000000 \n", + " 2 1 2.013060e+13 10489526.525594 16.000000 35.589744 \n", + " 2 2.013062e+13 10588283.573240 11.964286 35.642857 \n", + " 3 2.013039e+13 7753776.534449 8.500000 35.666667 \n", + " 4 2.013087e+13 21188890.409103 2.200000 35.000000 \n", + " 5 2.013040e+13 9307406.132978 8.000000 36.000000 \n", + "17 1 1 2.013077e+13 13044819.609185 17.000000 36.410256 \n", + " 2 2.013072e+13 8482124.323941 11.523810 36.571429 \n", + " 3 2.013050e+13 10215423.155919 7.307692 36.384615 \n", + " 4 2.013085e+13 5659440.635487 7.600000 36.800000 \n", + " 5 2.013056e+13 14599966.015244 4.000000 38.000000 \n", + " 2 1 2.013070e+13 13212095.516892 17.000000 36.676471 \n", + " 2 2.013058e+13 13112969.438599 12.066667 36.700000 \n", + " 3 2.013052e+13 12706768.566471 8.615385 36.615385 \n", + "... ... ... ... ... \n", + "75 1 3 2.013111e+13 10890200.877241 7.000000 32.000000 \n", + " 2 0 2.013067e+13 8265995.008510 -1.000000 39.224490 \n", + "76 1 0 2.013060e+13 5335807.641926 -1.000000 40.142857 \n", + " 1 2.013121e+13 4116620.437832 4.000000 40.000000 \n", + " 2 0 2.013056e+13 6244722.925011 -1.000000 39.121212 \n", + " 1 2.013069e+13 5799066.464787 7.000000 40.600000 \n", + " 2 2.013111e+13 7821688.412099 8.000000 40.000000 \n", + " 3 2.013061e+13 5189241.067064 1.000000 36.000000 \n", + "77 1 0 2.013064e+13 7071554.382711 -1.000000 40.972222 \n", + " 2 2.013011e+13 3616078.174585 3.000000 42.000000 \n", + " 2 0 2.013069e+13 6388752.512759 -1.000000 39.451613 \n", + " 1 2.013060e+13 4975200.258271 8.500000 37.500000 \n", + " 2 2.013061e+13 2532751.486470 6.000000 43.000000 \n", + " 4 2.013091e+13 5267776.632156 10.000000 33.000000 \n", + "78 1 0 2.013069e+13 7952631.156018 -1.000000 40.193548 \n", + " 2 0 2.013070e+13 5865090.034316 -1.000000 39.708333 \n", + " 1 2.013021e+13 5327408.486902 16.000000 39.500000 \n", + " 2 2.013096e+13 9648490.535014 11.000000 38.500000 \n", + "79 1 0 2.013054e+13 6340895.131921 -1.000000 39.483871 \n", + " 2 0 2.013054e+13 5100972.251078 -1.000000 39.195652 \n", + "80 1 0 2.013066e+13 7194282.636861 -1.000000 40.096774 \n", + " 1 2.013020e+13 8846377.157919 9.000000 39.000000 \n", + " 2 2.013096e+13 7854218.587919 11.000000 42.000000 \n", + " 3 2.013071e+13 16447870.975828 4.500000 36.000000 \n", + " 2 0 2.013065e+13 6347391.767688 -1.000000 39.396313 \n", + " 1 2.013083e+13 6563510.215992 9.833333 39.500000 \n", + "85 1 0 2.013069e+13 6715764.430195 -1.000000 39.500000 \n", + " 2 0 2.013065e+13 5771982.326075 -1.000000 39.466258 \n", + " 1 2.013021e+13 3932529.629927 11.500000 38.500000 \n", + " 2 2.013011e+13 6006887.538735 0.000000 34.000000 \n", + "\n", + " PTDTRACE PEHSPNON GTMETSTA TELFS TEMJOT \\\n", + "TEAGE TESEX TRCHILDNUM \n", + "15 1 1 1.842105 1.842105 1.157895 4.789474 -0.842105 \n", + " 2 1.133333 1.800000 1.066667 4.666667 -0.800000 \n", + " 3 1.923077 1.692308 1.230769 4.384615 -0.538462 \n", + " 4 1.000000 2.000000 1.333333 3.666667 -0.333333 \n", + " 6 1.000000 2.000000 2.000000 1.000000 2.000000 \n", + " 2 1 1.368421 1.789474 1.210526 4.473684 -0.684211 \n", + " 2 2.052632 1.842105 1.263158 4.578947 -0.684211 \n", + " 3 1.307692 1.923077 1.230769 4.000000 -0.307692 \n", + " 5 1.500000 2.000000 1.000000 4.500000 -1.000000 \n", + " 7 2.000000 2.000000 1.000000 5.000000 -1.000000 \n", + "16 1 1 1.928571 1.928571 1.166667 4.261905 -0.571429 \n", + " 2 1.476190 1.809524 1.047619 4.047619 -0.428571 \n", + " 3 1.333333 1.750000 1.333333 4.083333 -0.500000 \n", + " 4 1.000000 1.714286 1.285714 3.428571 -0.285714 \n", + " 5 1.000000 2.000000 1.000000 5.000000 -1.000000 \n", + " 6 1.000000 1.000000 1.000000 5.000000 -1.000000 \n", + " 7 2.000000 2.000000 1.000000 5.000000 -1.000000 \n", + " 2 1 1.282051 1.769231 1.128205 3.794872 -0.333333 \n", + " 2 1.321429 1.821429 1.142857 3.571429 0.071429 \n", + " 3 1.000000 1.500000 1.000000 4.833333 -1.000000 \n", + " 4 1.000000 1.800000 1.400000 3.200000 0.200000 \n", + " 5 1.000000 2.000000 1.000000 1.000000 2.000000 \n", + "17 1 1 1.282051 1.769231 1.153846 3.589744 -0.128205 \n", + " 2 1.476190 1.857143 1.142857 3.761905 -0.285714 \n", + " 3 2.230769 1.538462 1.461538 3.384615 0.076923 \n", + " 4 3.600000 2.000000 1.400000 3.400000 0.200000 \n", + " 5 1.000000 1.500000 1.000000 2.500000 0.500000 \n", + " 2 1 1.529412 1.764706 1.117647 3.588235 -0.147059 \n", + " 2 1.600000 1.866667 1.266667 3.333333 0.066667 \n", + " 3 1.615385 1.615385 1.076923 4.461538 -0.769231 \n", + "... ... ... ... ... ... \n", + "75 1 3 1.000000 1.000000 1.000000 5.000000 -1.000000 \n", + " 2 0 1.346939 1.897959 1.244898 4.836735 -0.877551 \n", + "76 1 0 1.342857 1.914286 1.200000 4.428571 -0.571429 \n", + " 1 1.000000 2.000000 1.000000 5.000000 -1.000000 \n", + " 2 0 1.272727 1.878788 1.333333 4.515152 -0.636364 \n", + " 1 1.200000 2.000000 1.200000 4.200000 -0.400000 \n", + " 2 1.000000 2.000000 1.000000 5.000000 -1.000000 \n", + " 3 1.000000 2.000000 1.000000 5.000000 -1.000000 \n", + "77 1 0 1.055556 1.916667 1.111111 4.444444 -0.611111 \n", + " 2 1.000000 1.000000 1.000000 1.000000 2.000000 \n", + " 2 0 1.306452 1.935484 1.241935 4.629032 -0.709677 \n", + " 1 1.500000 2.000000 1.000000 5.000000 -1.000000 \n", + " 2 1.000000 1.000000 1.000000 1.000000 2.000000 \n", + " 4 1.000000 2.000000 1.000000 5.000000 -1.000000 \n", + "78 1 0 1.258065 1.870968 1.290323 4.419355 -0.612903 \n", + " 2 0 1.250000 1.958333 1.125000 4.916667 -0.937500 \n", + " 1 1.000000 2.000000 1.000000 5.000000 -1.000000 \n", + " 2 2.500000 2.000000 1.500000 5.000000 -1.000000 \n", + "79 1 0 1.354839 1.806452 1.096774 4.322581 -0.516129 \n", + " 2 0 1.108696 1.913043 1.282609 4.717391 -0.826087 \n", + "80 1 0 1.258065 1.951613 1.338710 4.508065 -0.645161 \n", + " 1 1.000000 2.000000 1.000000 5.000000 -1.000000 \n", + " 2 1.500000 2.000000 1.000000 1.000000 1.500000 \n", + " 3 1.500000 1.500000 1.000000 5.000000 -1.000000 \n", + " 2 0 1.221198 1.930876 1.248848 4.811060 -0.861751 \n", + " 1 1.500000 1.833333 1.000000 5.000000 -1.000000 \n", + "85 1 0 1.141304 1.956522 1.173913 4.739130 -0.815217 \n", + " 2 0 1.325153 1.926380 1.263804 4.975460 -0.981595 \n", + " 1 1.000000 1.750000 1.500000 4.750000 -1.000000 \n", + " 2 2.000000 2.000000 1.000000 5.000000 -1.000000 \n", + "\n", + " TRDPFTPT ... t181501 t181599 t181601 \\\n", + "TEAGE TESEX TRCHILDNUM ... \n", + "15 1 1 -0.842105 ... 0.000000 0.000000 0.000000 \n", + " 2 -0.800000 ... 3.000000 0.000000 0.000000 \n", + " 3 -0.538462 ... 0.000000 0.000000 0.000000 \n", + " 4 0.000000 ... 0.000000 0.000000 0.000000 \n", + " 6 1.000000 ... 0.000000 0.000000 0.000000 \n", + " 2 1 -0.684211 ... 2.105263 0.000000 1.578947 \n", + " 2 -0.684211 ... 0.000000 0.000000 0.526316 \n", + " 3 -0.307692 ... 2.307692 0.000000 0.000000 \n", + " 5 -1.000000 ... 0.000000 0.000000 0.000000 \n", + " 7 -1.000000 ... 0.000000 0.000000 0.000000 \n", + "16 1 1 -0.595238 ... 1.190476 0.000000 0.476190 \n", + " 2 -0.428571 ... 0.000000 0.000000 0.000000 \n", + " 3 -0.583333 ... 0.000000 0.000000 0.000000 \n", + " 4 -0.142857 ... 0.000000 1.142857 0.000000 \n", + " 5 -1.000000 ... 0.000000 0.000000 0.000000 \n", + " 6 -1.000000 ... 0.000000 0.000000 20.000000 \n", + " 7 -1.000000 ... 0.000000 0.000000 0.000000 \n", + " 2 1 -0.307692 ... 1.666667 0.000000 0.000000 \n", + " 2 -0.035714 ... 0.178571 0.000000 0.000000 \n", + " 3 -1.000000 ... 0.833333 0.000000 0.000000 \n", + " 4 0.200000 ... 0.000000 0.000000 0.000000 \n", + " 5 2.000000 ... 0.000000 0.000000 0.000000 \n", + "17 1 1 -0.179487 ... 2.564103 0.000000 0.000000 \n", + " 2 -0.285714 ... 1.190476 0.000000 0.000000 \n", + " 3 0.153846 ... 0.000000 0.000000 0.000000 \n", + " 4 0.200000 ... 0.000000 0.000000 0.000000 \n", + " 5 0.500000 ... 0.000000 0.000000 0.000000 \n", + " 2 1 -0.147059 ... 0.735294 0.000000 0.000000 \n", + " 2 0.100000 ... 0.833333 0.000000 0.000000 \n", + " 3 -0.769231 ... 2.461538 0.000000 1.153846 \n", + "... ... ... ... ... ... \n", + "75 1 3 -1.000000 ... 90.000000 0.000000 0.000000 \n", + " 2 0 -0.877551 ... 2.591837 0.000000 0.000000 \n", + "76 1 0 -0.600000 ... 0.857143 0.000000 0.000000 \n", + " 1 -1.000000 ... 0.000000 0.000000 0.000000 \n", + " 2 0 -0.696970 ... 3.848485 0.000000 0.000000 \n", + " 1 -0.400000 ... 0.000000 0.000000 0.000000 \n", + " 2 -1.000000 ... 0.000000 0.000000 0.000000 \n", + " 3 -1.000000 ... 0.000000 0.000000 0.000000 \n", + "77 1 0 -0.611111 ... 1.111111 0.000000 0.416667 \n", + " 2 2.000000 ... 0.000000 0.000000 0.000000 \n", + " 2 0 -0.741935 ... 0.967742 0.000000 0.000000 \n", + " 1 -1.000000 ... 0.000000 0.000000 0.000000 \n", + " 2 1.000000 ... 0.000000 0.000000 0.000000 \n", + " 4 -1.000000 ... 0.000000 0.000000 0.000000 \n", + "78 1 0 -0.709677 ... 0.225806 0.000000 0.000000 \n", + " 2 0 -0.937500 ... 0.208333 0.000000 0.000000 \n", + " 1 -1.000000 ... 0.000000 0.000000 0.000000 \n", + " 2 -1.000000 ... 0.000000 0.000000 0.000000 \n", + "79 1 0 -0.645161 ... 0.225806 0.000000 0.000000 \n", + " 2 0 -0.804348 ... 2.326087 0.000000 0.000000 \n", + "80 1 0 -0.725806 ... 0.943548 0.000000 0.000000 \n", + " 1 -1.000000 ... 0.000000 0.000000 0.000000 \n", + " 2 1.000000 ... 0.000000 0.000000 0.000000 \n", + " 3 -1.000000 ... 0.000000 0.000000 0.000000 \n", + " 2 0 -0.880184 ... 0.548387 0.000000 0.000000 \n", + " 1 -1.000000 ... 0.000000 0.000000 0.000000 \n", + "85 1 0 -0.826087 ... 1.152174 0.000000 0.000000 \n", + " 2 0 -0.981595 ... 0.245399 0.012270 0.000000 \n", + " 1 -1.000000 ... 0.000000 0.000000 0.000000 \n", + " 2 -1.000000 ... 0.000000 0.000000 0.000000 \n", + "\n", + " t181801 t189999 t500101 t500103 t500105 \\\n", + "TEAGE TESEX TRCHILDNUM \n", + "15 1 1 0 1.315789 20.157895 11.052632 0.0 \n", + " 2 0 0.333333 1.466667 0.000000 0.0 \n", + " 3 0 0.000000 0.000000 0.000000 0.0 \n", + " 4 0 0.000000 0.000000 0.000000 0.0 \n", + " 6 0 0.000000 0.000000 0.000000 0.0 \n", + " 2 1 0 0.000000 3.157895 0.000000 0.0 \n", + " 2 0 0.000000 16.578947 0.000000 0.0 \n", + " 3 0 7.307692 52.307692 7.692308 0.0 \n", + " 5 0 0.000000 15.000000 0.000000 0.0 \n", + " 7 0 40.000000 95.000000 0.000000 0.0 \n", + "16 1 1 0 0.595238 0.833333 0.000000 0.0 \n", + " 2 0 0.000000 13.952381 0.000000 0.0 \n", + " 3 0 0.000000 1.833333 0.000000 0.0 \n", + " 4 0 3.571429 0.000000 0.000000 0.0 \n", + " 5 0 0.000000 0.000000 0.000000 0.0 \n", + " 6 0 0.000000 0.000000 0.000000 0.0 \n", + " 7 0 0.000000 0.000000 0.000000 0.0 \n", + " 2 1 0 0.538462 4.358974 0.000000 0.0 \n", + " 2 0 0.392857 11.678571 0.642857 0.0 \n", + " 3 0 5.000000 25.000000 0.000000 0.0 \n", + " 4 0 0.000000 0.000000 0.000000 0.0 \n", + " 5 0 0.000000 0.000000 0.000000 0.0 \n", + "17 1 1 0 4.333333 16.025641 6.923077 0.0 \n", + " 2 0 0.000000 2.857143 5.714286 0.0 \n", + " 3 0 2.384615 19.615385 0.000000 0.0 \n", + " 4 0 0.000000 0.000000 0.000000 0.0 \n", + " 5 0 0.000000 75.000000 0.000000 0.0 \n", + " 2 1 0 0.882353 14.705882 0.147059 0.0 \n", + " 2 0 1.900000 2.966667 4.000000 0.0 \n", + " 3 0 0.000000 0.000000 0.000000 0.0 \n", + "... ... ... ... ... ... \n", + "75 1 3 0 0.000000 60.000000 0.000000 0.0 \n", + " 2 0 0 1.040816 8.102041 0.816327 0.0 \n", + "76 1 0 0 2.285714 18.142857 0.000000 0.0 \n", + " 1 0 0.000000 0.000000 0.000000 0.0 \n", + " 2 0 0 0.606061 0.000000 21.060606 0.0 \n", + " 1 0 0.000000 0.000000 0.000000 0.0 \n", + " 2 0 0.000000 0.000000 0.000000 0.0 \n", + " 3 0 0.000000 0.000000 0.000000 0.0 \n", + "77 1 0 0 1.805556 1.611111 0.555556 0.0 \n", + " 2 0 0.000000 0.000000 0.000000 0.0 \n", + " 2 0 0 0.000000 10.645161 2.032258 0.0 \n", + " 1 0 0.000000 0.000000 0.000000 0.0 \n", + " 2 0 0.000000 0.000000 0.000000 0.0 \n", + " 4 0 0.000000 0.000000 0.000000 0.0 \n", + "78 1 0 0 2.096774 3.870968 0.000000 0.0 \n", + " 2 0 0 0.312500 5.000000 4.062500 2.5 \n", + " 1 0 0.000000 0.000000 0.000000 0.0 \n", + " 2 0 0.000000 0.000000 0.000000 0.0 \n", + "79 1 0 0 1.290323 9.645161 0.806452 0.0 \n", + " 2 0 0 0.434783 5.000000 0.000000 0.0 \n", + "80 1 0 0 1.911290 12.677419 0.475806 0.0 \n", + " 1 0 0.000000 0.000000 0.000000 0.0 \n", + " 2 0 0.000000 45.000000 68.000000 4.0 \n", + " 3 0 0.000000 0.000000 0.000000 0.0 \n", + " 2 0 0 0.511521 14.396313 1.843318 0.0 \n", + " 1 0 0.000000 5.000000 0.000000 0.0 \n", + "85 1 0 0 0.000000 12.391304 0.000000 0.0 \n", + " 2 0 0 0.920245 6.134969 0.184049 0.0 \n", + " 1 0 0.000000 7.500000 0.000000 0.0 \n", + " 2 0 0.000000 0.000000 0.000000 0.0 \n", + "\n", + " t500106 t500107 \n", + "TEAGE TESEX TRCHILDNUM \n", + "15 1 1 0.000000 0.000000 \n", + " 2 0.000000 0.000000 \n", + " 3 0.000000 0.000000 \n", + " 4 10.000000 0.000000 \n", + " 6 0.000000 0.000000 \n", + " 2 1 1.052632 0.000000 \n", + " 2 0.000000 0.000000 \n", + " 3 8.461538 0.000000 \n", + " 5 0.000000 0.000000 \n", + " 7 0.000000 0.000000 \n", + "16 1 1 4.047619 0.000000 \n", + " 2 6.904762 0.142857 \n", + " 3 0.000000 0.000000 \n", + " 4 48.571429 0.000000 \n", + " 5 0.000000 0.000000 \n", + " 6 0.000000 0.000000 \n", + " 7 0.000000 0.000000 \n", + " 2 1 0.641026 0.000000 \n", + " 2 3.750000 0.000000 \n", + " 3 4.666667 0.000000 \n", + " 4 12.000000 0.000000 \n", + " 5 0.000000 0.000000 \n", + "17 1 1 0.000000 0.000000 \n", + " 2 6.095238 0.000000 \n", + " 3 2.307692 0.000000 \n", + " 4 0.000000 0.000000 \n", + " 5 0.000000 0.000000 \n", + " 2 1 0.000000 0.000000 \n", + " 2 2.000000 0.500000 \n", + " 3 5.230769 0.000000 \n", + "... ... ... \n", + "75 1 3 0.000000 0.000000 \n", + " 2 0 13.265306 0.000000 \n", + "76 1 0 3.857143 0.000000 \n", + " 1 0.000000 0.000000 \n", + " 2 0 11.818182 0.000000 \n", + " 1 12.000000 0.000000 \n", + " 2 0.000000 0.000000 \n", + " 3 0.000000 0.000000 \n", + "77 1 0 2.500000 0.555556 \n", + " 2 0.000000 0.000000 \n", + " 2 0 8.870968 0.000000 \n", + " 1 27.500000 0.000000 \n", + " 2 0.000000 0.000000 \n", + " 4 0.000000 0.000000 \n", + "78 1 0 15.322581 3.870968 \n", + " 2 0 5.083333 4.166667 \n", + " 1 0.000000 0.000000 \n", + " 2 0.000000 0.000000 \n", + "79 1 0 6.129032 0.000000 \n", + " 2 0 11.695652 0.000000 \n", + "80 1 0 8.145161 0.056452 \n", + " 1 0.000000 0.000000 \n", + " 2 15.000000 0.000000 \n", + " 3 0.000000 0.000000 \n", + " 2 0 10.451613 0.460829 \n", + " 1 5.000000 0.000000 \n", + "85 1 0 9.108696 0.000000 \n", + " 2 0 10.042945 0.092025 \n", + " 1 16.250000 0.000000 \n", + " 2 0.000000 0.000000 \n", + "\n", + "[589 rows x 410 columns]" + ] + } + ], + "prompt_number": 56 + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "group.mean().xs(18)" + ], + "language": "python", + "metadata": {}, + "outputs": [ + { + "html": [ + "
\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
respIDTUFINLWGTTRYHHCHILDPEEDUCAPTDTRACEPEHSPNONGTMETSTATELFSTEMJOTTRDPFTPT...t181501t181599t181601t181801t189999t500101t500103t500105t500106t500107
TESEXTRCHILDNUM
10 2.013072e+13 17290747.117418 -1.000000 37.851852 1.222222 1.777778 1.185185 2.925926 0.444444 0.259259... 2.222222 0 0.000000 0 0.000000 0.925926 0.000000 3.703704 6.111111 0
1 2.013058e+13 13623575.832358 11.642857 37.785714 1.285714 1.714286 1.214286 3.642857-0.142857-0.214286... 0.000000 0 0.000000 0 2.142857 12.857143 0.000000 0.000000 0.000000 0
2 2.013095e+13 9810826.749546 8.571429 37.142857 1.000000 1.714286 1.142857 3.857143-0.571429-0.571429... 2.142857 0 4.285714 0 0.000000 0.000000 0.000000 0.000000 0.000000 0
3 2.013055e+13 14798320.529851 8.500000 39.000000 1.000000 1.500000 1.000000 2.500000 0.500000 0.500000... 0.000000 0 0.000000 0 0.000000 0.000000 0.000000 0.000000 0.000000 0
4 2.013061e+13 9698865.029400 3.000000 37.000000 1.000000 1.000000 1.000000 5.000000-1.000000-1.000000... 0.000000 0 0.000000 0 0.000000 0.000000 0.000000 0.000000 0.000000 0
5 2.013046e+13 6125823.988861 1.500000 36.500000 3.500000 1.500000 1.000000 3.000000 0.500000 0.000000... 0.000000 0 0.000000 0 0.000000 0.000000 0.000000 0.000000 0.000000 0
20 2.013065e+13 10804026.682370 -1.000000 37.666667 1.266667 1.933333 1.333333 4.133333-0.666667-0.600000... 2.333333 0 0.000000 0 1.733333 15.666667 0.133333 0.000000 2.000000 0
1 2.013059e+13 9697337.573355 11.681818 37.954545 1.636364 1.772727 1.318182 2.590909 0.727273 0.636364... 0.454545 0 0.909091 0 1.727273 10.454545 0.000000 0.000000 0.000000 0
2 2.013060e+13 11460978.424731 5.181818 38.000000 1.090909 1.636364 1.454545 3.272727 0.090909 0.000000... 0.000000 0 0.000000 0 0.000000 0.000000 0.000000 0.000000 0.000000 0
3 2.013043e+13 15947859.680852 9.714286 37.428571 1.857143 1.714286 1.142857 2.571429 0.714286 0.714286... 6.428571 0 0.000000 0 0.000000 0.000000 0.000000 0.000000 12.142857 0
4 2.013030e+13 28793206.665881 9.000000 35.000000 1.000000 2.000000 1.000000 1.000000 2.000000 1.000000... 0.000000 0 0.000000 0 0.000000 0.000000 0.000000 0.000000 0.000000 0
\n", + "

11 rows \u00d7 410 columns

\n", + "
" + ], + "metadata": {}, + "output_type": "pyout", + "prompt_number": 57, + "text": [ + " respID TUFINLWGT TRYHHCHILD PEEDUCA \\\n", + "TESEX TRCHILDNUM \n", + "1 0 2.013072e+13 17290747.117418 -1.000000 37.851852 \n", + " 1 2.013058e+13 13623575.832358 11.642857 37.785714 \n", + " 2 2.013095e+13 9810826.749546 8.571429 37.142857 \n", + " 3 2.013055e+13 14798320.529851 8.500000 39.000000 \n", + " 4 2.013061e+13 9698865.029400 3.000000 37.000000 \n", + " 5 2.013046e+13 6125823.988861 1.500000 36.500000 \n", + "2 0 2.013065e+13 10804026.682370 -1.000000 37.666667 \n", + " 1 2.013059e+13 9697337.573355 11.681818 37.954545 \n", + " 2 2.013060e+13 11460978.424731 5.181818 38.000000 \n", + " 3 2.013043e+13 15947859.680852 9.714286 37.428571 \n", + " 4 2.013030e+13 28793206.665881 9.000000 35.000000 \n", + "\n", + " PTDTRACE PEHSPNON GTMETSTA TELFS TEMJOT TRDPFTPT \\\n", + "TESEX TRCHILDNUM \n", + "1 0 1.222222 1.777778 1.185185 2.925926 0.444444 0.259259 \n", + " 1 1.285714 1.714286 1.214286 3.642857 -0.142857 -0.214286 \n", + " 2 1.000000 1.714286 1.142857 3.857143 -0.571429 -0.571429 \n", + " 3 1.000000 1.500000 1.000000 2.500000 0.500000 0.500000 \n", + " 4 1.000000 1.000000 1.000000 5.000000 -1.000000 -1.000000 \n", + " 5 3.500000 1.500000 1.000000 3.000000 0.500000 0.000000 \n", + "2 0 1.266667 1.933333 1.333333 4.133333 -0.666667 -0.600000 \n", + " 1 1.636364 1.772727 1.318182 2.590909 0.727273 0.636364 \n", + " 2 1.090909 1.636364 1.454545 3.272727 0.090909 0.000000 \n", + " 3 1.857143 1.714286 1.142857 2.571429 0.714286 0.714286 \n", + " 4 1.000000 2.000000 1.000000 1.000000 2.000000 1.000000 \n", + "\n", + " ... t181501 t181599 t181601 t181801 t189999 \\\n", + "TESEX TRCHILDNUM ... \n", + "1 0 ... 2.222222 0 0.000000 0 0.000000 \n", + " 1 ... 0.000000 0 0.000000 0 2.142857 \n", + " 2 ... 2.142857 0 4.285714 0 0.000000 \n", + " 3 ... 0.000000 0 0.000000 0 0.000000 \n", + " 4 ... 0.000000 0 0.000000 0 0.000000 \n", + " 5 ... 0.000000 0 0.000000 0 0.000000 \n", + "2 0 ... 2.333333 0 0.000000 0 1.733333 \n", + " 1 ... 0.454545 0 0.909091 0 1.727273 \n", + " 2 ... 0.000000 0 0.000000 0 0.000000 \n", + " 3 ... 6.428571 0 0.000000 0 0.000000 \n", + " 4 ... 0.000000 0 0.000000 0 0.000000 \n", + "\n", + " t500101 t500103 t500105 t500106 t500107 \n", + "TESEX TRCHILDNUM \n", + "1 0 0.925926 0.000000 3.703704 6.111111 0 \n", + " 1 12.857143 0.000000 0.000000 0.000000 0 \n", + " 2 0.000000 0.000000 0.000000 0.000000 0 \n", + " 3 0.000000 0.000000 0.000000 0.000000 0 \n", + " 4 0.000000 0.000000 0.000000 0.000000 0 \n", + " 5 0.000000 0.000000 0.000000 0.000000 0 \n", + "2 0 15.666667 0.133333 0.000000 2.000000 0 \n", + " 1 10.454545 0.000000 0.000000 0.000000 0 \n", + " 2 0.000000 0.000000 0.000000 0.000000 0 \n", + " 3 0.000000 0.000000 0.000000 12.142857 0 \n", + " 4 0.000000 0.000000 0.000000 0.000000 0 \n", + "\n", + "[11 rows x 410 columns]" + ] + } + ], + "prompt_number": 57 }, { "cell_type": "code", "collapsed": false, "input": [ + "\"\"\"Take this groupby object, create a group of adult woman with three children,\n", + " and find the mean age of the youngest child.\"\"\"\n", "group.mean().xs(18).xs(2).xs(3)[\"TRYHHCHILD\"]" ], "language": "python", @@ -808,13 +3101,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 16, + "prompt_number": 55, "text": [ "9.7142857142857135" ] } ], - "prompt_number": 16 + "prompt_number": 55 }, { "cell_type": "markdown", diff --git a/Starting Point.ipynb b/Starting Point.ipynb index b323902..240fc07 100644 --- a/Starting Point.ipynb +++ b/Starting Point.ipynb @@ -1,7 +1,7 @@ { "metadata": { "name": "", - "signature": "sha256:61ebf2badb80efc429f54d148e73dd53ca5da2337868c3a6c86018c0f9628256" + "signature": "sha256:0effbb8f81ebae2a6733418710a5a2d1522fbda8cedeb5b873d4568f5eb24caf" }, "nbformat": 3, "nbformat_minor": 0, @@ -18,7 +18,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 74 + "prompt_number": 12 }, { "cell_type": "code", @@ -29,7 +29,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 75 + "prompt_number": 13 }, { "cell_type": "code", @@ -40,7 +40,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 76 + "prompt_number": 14 }, { "cell_type": "code", @@ -64,7 +64,7 @@ ] } ], - "prompt_number": 77 + "prompt_number": 15 }, { "cell_type": "code", @@ -78,13 +78,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 78, + "prompt_number": 16, "text": [ "Index(['tucaseid', 'TUFINLWGT', 'TRYHHCHILD', 'TEAGE', 'TESEX', 'PEEDUCA', 'PTDTRACE', 'PEHSPNON', 'GTMETSTA', 'TELFS', 'TEMJOT', 'TRDPFTPT', 'TESCHENR', 'TESCHLVL', 'TRSPPRES', 'TESPEMPNOT', 'TRERNWA', 'TRCHILDNUM', 'TRSPFTPT', 'TEHRUSLT', 'TUDIARYDAY', 'TRHOLIDAY', 'TRTEC', 'TRTHH', 't010101', 't010102', 't010201', 't010299', 't010301', 't010399', 't010401', 't020101', 't020102', 't020103', 't020104', 't020199', 't020201', 't020202', 't020203', 't020299', 't020301', 't020302', 't020303', 't020399', 't020401', 't020402', 't020499', 't020501', 't020502', 't020599', 't020601', 't020602', 't020699', 't020701', 't020799', 't020801', 't020899', 't020901', 't020902', 't020903', 't020904', 't020905', 't020999', 't029999', 't030101', 't030102', 't030103', 't030104', 't030105', 't030106', 't030108', 't030109', 't030110', 't030111', 't030112', 't030199', 't030201', 't030202', 't030203', 't030299', 't030301', 't030302', 't030303', 't030399', 't030401', 't030402', 't030403', 't030404', 't030405', 't030499', 't030501', 't030502', 't030503', 't030504', 't030599', 't039999', 't040101', 't040102', 't040103', 't040104', ...], dtype='object')" ] } ], - "prompt_number": 78 + "prompt_number": 16 }, { "cell_type": "markdown", @@ -267,7 +267,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 79, + "prompt_number": 17, "text": [ " tucaseid TUFINLWGT TRYHHCHILD TEAGE TESEX PEEDUCA \\\n", "0 20130101130004 11899905.662034 12 22 2 40 \n", @@ -294,7 +294,7 @@ ] } ], - "prompt_number": 79 + "prompt_number": 17 }, { "cell_type": "code", @@ -306,7 +306,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 80 + "prompt_number": 18 }, { "cell_type": "code", @@ -330,7 +330,7 @@ ] } ], - "prompt_number": 81 + "prompt_number": 19 }, { "cell_type": "code", @@ -386,7 +386,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 82, + "prompt_number": 20, "text": [ " weight minutes\n", "2 10377056.507734 60\n", @@ -397,7 +397,7 @@ ] } ], - "prompt_number": 82 + "prompt_number": 20 }, { "cell_type": "code", @@ -408,7 +408,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 83 + "prompt_number": 21 }, { "cell_type": "code", @@ -468,7 +468,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 84, + "prompt_number": 22, "text": [ " weight minutes weighted_minutes\n", "2 10377056.507734 60 6.226234e+08\n", @@ -479,7 +479,7 @@ ] } ], - "prompt_number": 84 + "prompt_number": 22 }, { "cell_type": "code", @@ -493,13 +493,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 85, + "prompt_number": 23, "text": [ "3.1709004734759403" ] } ], - "prompt_number": 85 + "prompt_number": 23 }, { "cell_type": "code", @@ -515,7 +515,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 86 + "prompt_number": 24 }, { "cell_type": "code", @@ -531,13 +531,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 87, + "prompt_number": 25, "text": [ "8.7508537061809992" ] } ], - "prompt_number": 87 + "prompt_number": 25 }, { "cell_type": "code", @@ -551,7 +551,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 88 + "prompt_number": 26 }, { "cell_type": "code", @@ -565,13 +565,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 89, + "prompt_number": 27, "text": [ "['t010101', 't010102']" ] } ], - "prompt_number": 89 + "prompt_number": 27 }, { "cell_type": "code", @@ -590,7 +590,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 90 + "prompt_number": 28 }, { "cell_type": "code", @@ -604,13 +604,13 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 91, + "prompt_number": 42, "text": [ "8.750853706181001" ] } ], - "prompt_number": 91 + "prompt_number": 42 }, { "cell_type": "code", @@ -624,76 +624,25 @@ { "metadata": {}, "output_type": "pyout", - "prompt_number": 92, + "prompt_number": 30, "text": [ "9.5541911543273592" ] } ], - "prompt_number": 92 + "prompt_number": 30 }, { "cell_type": "code", "collapsed": false, "input": [ "# grouping\n", - "help(adults_with_no_children.groupby)" + "# help(adults_with_no_children.groupby)" ], "language": "python", "metadata": {}, - "outputs": [ - { - "output_type": "stream", - "stream": "stdout", - "text": [ - "Help on method groupby in module pandas.core.generic:\n", - "\n", - "groupby(by=None, axis=0, level=None, as_index=True, sort=True, group_keys=True, squeeze=False) method of pandas.core.frame.DataFrame instance\n", - " Group series using mapper (dict or key function, apply given function\n", - " to group, return result as series) or by a series of columns\n", - " \n", - " Parameters\n", - " ----------\n", - " by : mapping function / list of functions, dict, Series, or tuple /\n", - " list of column names.\n", - " Called on each element of the object index to determine the groups.\n", - " If a dict or Series is passed, the Series or dict VALUES will be\n", - " used to determine the groups\n", - " axis : int, default 0\n", - " level : int, level name, or sequence of such, default None\n", - " If the axis is a MultiIndex (hierarchical), group by a particular\n", - " level or levels\n", - " as_index : boolean, default True\n", - " For aggregated output, return object with group labels as the\n", - " index. Only relevant for DataFrame input. as_index=False is\n", - " effectively \"SQL-style\" grouped output\n", - " sort : boolean, default True\n", - " Sort group keys. Get better performance by turning this off\n", - " group_keys : boolean, default True\n", - " When calling apply, add group keys to index to identify pieces\n", - " squeeze : boolean, default False\n", - " reduce the dimensionaility of the return type if possible,\n", - " otherwise return a consistent type\n", - " \n", - " Examples\n", - " --------\n", - " # DataFrame result\n", - " >>> data.groupby(func, axis=0).mean()\n", - " \n", - " # DataFrame result\n", - " >>> data.groupby(['col1', 'col2'])['col3'].mean()\n", - " \n", - " # DataFrame with hierarchical index\n", - " >>> data.groupby(['col1', 'col2']).mean()\n", - " \n", - " Returns\n", - " -------\n", - " GroupBy object\n", - "\n" - ] - } - ], - "prompt_number": 93 + "outputs": [], + "prompt_number": 41 }, { "cell_type": "code", @@ -704,7 +653,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 94 + "prompt_number": 32 }, { "cell_type": "code", @@ -897,7 +846,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 103, + "prompt_number": 44, "text": [ " tucaseid TUFINLWGT TRYHHCHILD PEEDUCA PTDTRACE \\\n", "TRCHILDNUM \n", @@ -935,7 +884,7 @@ ] } ], - "prompt_number": 103 + "prompt_number": 44 }, { "cell_type": "heading", @@ -955,7 +904,7 @@ "language": "python", "metadata": {}, "outputs": [], - "prompt_number": 104 + "prompt_number": 34 }, { "cell_type": "code", @@ -978,7 +927,7 @@ ] } ], - "prompt_number": 105 + "prompt_number": 35 }, { "cell_type": "code", @@ -1032,7 +981,7 @@ ] } ], - "prompt_number": 106 + "prompt_number": 36 }, { "cell_type": "code", @@ -1201,7 +1150,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 107, + "prompt_number": 37, "text": [ " TUCASEID TULINENO TUYEAR TUMONTH TEABSRSN TEERN TEERNH1O \\\n", "0 20130101130004 1 2013 1 -1 -1 -1 \n", @@ -1228,7 +1177,7 @@ ] } ], - "prompt_number": 107 + "prompt_number": 37 }, { "cell_type": "code", @@ -1397,7 +1346,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 108, + "prompt_number": 38, "text": [ " TUCASEID TUACTIVITY_N TEWHERE TRTCCTOT_LN TRTCC_LN TRTCOC_LN \\\n", "0 20130101130004 1 -1 0 0 0 \n", @@ -1431,7 +1380,7 @@ ] } ], - "prompt_number": 108 + "prompt_number": 38 }, { "cell_type": "code", @@ -1455,7 +1404,7 @@ ] } ], - "prompt_number": 109 + "prompt_number": 39 }, { "cell_type": "code", @@ -1624,7 +1573,7 @@ ], "metadata": {}, "output_type": "pyout", - "prompt_number": 110, + "prompt_number": 40, "text": [ " TUCASEID TULINENO TUYEAR TUMONTH TEABSRSN TEERN TEERNH1O \\\n", "0 20130101130004 1 2013 1 -1 -1 -1 \n", @@ -1651,7 +1600,7 @@ ] } ], - "prompt_number": 110 + "prompt_number": 40 }, { "cell_type": "code", @@ -1659,7 +1608,8 @@ "input": [], "language": "python", "metadata": {}, - "outputs": [] + "outputs": [], + "prompt_number": 40 } ], "metadata": {}