Rename the utilities module
This commit is contained in:
parent
441f121350
commit
56a0ac29a2
2 changed files with 4 additions and 4 deletions
|
@ -30,7 +30,7 @@
|
||||||
"name": "stdout",
|
"name": "stdout",
|
||||||
"output_type": "stream",
|
"output_type": "stream",
|
||||||
"text": [
|
"text": [
|
||||||
"2018-08-29 11:19:59 CEST\n",
|
"2018-08-29 13:46:44 CEST\n",
|
||||||
"\n",
|
"\n",
|
||||||
"CPython 3.6.5\n",
|
"CPython 3.6.5\n",
|
||||||
"IPython 6.5.0\n",
|
"IPython 6.5.0\n",
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"The *cleaning_utils.py* module defines helper dictionaries and lists that help with parsing the data types correctly, look up column descriptions, and refer to groups of data columns.\n",
|
"The *utils.py* module defines helper dictionaries and lists that help with parsing the data types correctly, look up column descriptions, and refer to groups of data columns.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"**Note:** the suffix \\_*COLUMNS* indicates a dictionary with all meta information on the provided data file and \\_*VARIABLES* a list with only the column names (i.e., the keys of the respective \\_*COLUMNS* dictionary)."
|
"**Note:** the suffix \\_*COLUMNS* indicates a dictionary with all meta information on the provided data file and \\_*VARIABLES* a list with only the column names (i.e., the keys of the respective \\_*COLUMNS* dictionary)."
|
||||||
]
|
]
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"from cleaning_utils import (\n",
|
"from utils import (\n",
|
||||||
" ALL_COLUMNS,\n",
|
" ALL_COLUMNS,\n",
|
||||||
" ALL_VARIABLES,\n",
|
" ALL_VARIABLES,\n",
|
||||||
" LABEL_COLUMNS, # groups nominal and ordinal\n",
|
" LABEL_COLUMNS, # groups nominal and ordinal\n",
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
"\n",
|
"\n",
|
||||||
"**Note 1:** the data come with a lot of \"NA\" text strings that do **not** indicate missing data but, for example, the absence of a basement or a parking lot (see the linked data description).\n",
|
"**Note 1:** the data come with a lot of \"NA\" text strings that do **not** indicate missing data but, for example, the absence of a basement or a parking lot (see the linked data description).\n",
|
||||||
"\n",
|
"\n",
|
||||||
"**Note 2:** the mappings from column names to data types are encoded in the \"cleaning_utils.py\" module that defines the aforementioned helper dictionaries / lists.\n",
|
"**Note 2:** the mappings from column names to data types are encoded in the \"utils.py\" module that defines the aforementioned helper dictionaries / lists.\n",
|
||||||
"\n",
|
"\n",
|
||||||
"**Note 3:** the Excel file with all the data is either loaded from the local dictionary (= \"cache\") or obtained fresh from the source."
|
"**Note 3:** the Excel file with all the data is either loaded from the local dictionary (= \"cache\") or obtained fresh from the source."
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue