Spaces:
Running
Running
fix Makefile
Browse filesFiles changed (3)
- .gitignoreAdded+1
- Makefile+1-1
- facets-dive.ipynb+32-23
1.ipynb_checkpoints5 unmodified lines67891011125 unmodified linesdocker build -f Dockerfile -t ${REPO}/${NAME}:${VERSION} -t ${REPO}/${NAME}:latest .run: builddocker run --rm -it -p 8888:8888 --mount type=bind,source=${PWD},target=/home/jovyan/work --name ${NAME} --workdir=/home/jovyan/work ${REPO}/${NAME}:${VERSION} && make -s cleanpush: builddocker push ${REPO}/${NAME}:${VERSION} && docker push ${REPO}/${NAME}:latest5 unmodified lines67891011125 unmodified linesdocker build -f Dockerfile -t ${REPO}/${NAME}:${VERSION} -t ${REPO}/${NAME}:latest .run: builddocker run --rm -it -p 8888:8888 --mount type=bind,source=${PWD},target=/home/jovyan/work --name ${NAME} --workdir=/home/jovyan/work ${REPO}/${NAME}:${VERSION}push: builddocker push ${REPO}/${NAME}:${VERSION} && docker push ${REPO}/${NAME}:latest
26 unmodified lines2728293031323316 unmodified lines505152535455565758596061626364656667686970717273747576777879808182838485864 unmodified lines9192939495969726 unmodified lines},{"cell_type": "code","execution_count": 8,"id": "403c4b8a","metadata": {},"outputs": [],16 unmodified lines},{"cell_type": "code","execution_count": 6,"id": "c000f04d","metadata": {},"outputs": [{"data": {"text/plain": ["Private 22696\n","Self-emp-not-inc 2541\n","Local-gov 2093\n","? 1836\n","State-gov 1298\n","Self-emp-inc 1116\n","Federal-gov 960\n","Without-pay 14\n","Never-worked 7\n","Name: workclass, dtype: int64"]},"execution_count": 6,"metadata": {},"output_type": "execute_result"}],"source": ["df['workclass'].value_counts()"]},{"cell_type": "code","execution_count": 10,"id": "85b71af5","metadata": {},"outputs": [],4 unmodified lines"HTML_TEMPLATE = \"\"\"\n"," <script src=\"https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.3.3/webcomponents-lite.js\"></script>\n"," <link rel=\"import\" href=\"https://raw.githubusercontent.com/PAIR-code/facets/1.0.0/facets-dist/facets-jupyter.html\">\n"," <facets-dive sprite-image-width=\"{sprite_size}\" sprite-image-height=\"{sprite_size}\" id=\"elem\" height=\"1200\"></facets-dive>\n"," <script>\n"," document.querySelector(\"#elem\").data = {jsonstr};\n"," </script>\"\"\"\n",26 unmodified lines2728293031323316 unmodified lines505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394954 unmodified lines10010110210310410510626 unmodified lines},{"cell_type": "code","execution_count": 2,"id": "403c4b8a","metadata": {},"outputs": [],16 unmodified lines},{"cell_type": "code","execution_count": 5,"id": "b512f166","metadata": {},"outputs": [{"name": "stdout","output_type": "stream","text": ["<class 'pandas.core.frame.DataFrame'>\n","RangeIndex: 32561 entries, 0 to 32560\n","Data columns (total 15 columns):\n"," # Column Non-Null Count Dtype \n","--- ------ -------------- ----- \n"," 0 age 32561 non-null int64 \n"," 1 workclass 32561 non-null object\n"," 2 fnlwgt 32561 non-null int64 \n"," 3 education 32561 non-null object\n"," 4 education.num 32561 non-null int64 \n"," 5 marital.status 32561 non-null object\n"," 6 occupation 32561 non-null object\n"," 7 relationship 32561 non-null object\n"," 8 race 32561 non-null object\n"," 9 sex 32561 non-null object\n"," 10 capital.gain 32561 non-null int64 \n"," 11 capital.loss 32561 non-null int64 \n"," 12 hours.per.week 32561 non-null int64 \n"," 13 native.country 32561 non-null object\n"," 14 income 32561 non-null object\n","dtypes: int64(6), object(9)\n","memory usage: 3.7+ MB\n"]}],"source": ["df.info()"]},{"cell_type": "code","execution_count": 4,"id": "85b71af5","metadata": {},"outputs": [],4 unmodified lines"HTML_TEMPLATE = \"\"\"\n"," <script src=\"https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/1.3.3/webcomponents-lite.js\"></script>\n"," <link rel=\"import\" href=\"https://raw.githubusercontent.com/PAIR-code/facets/1.0.0/facets-dist/facets-jupyter.html\">\n"," <facets-dive sprite-image-width=\"{sprite_size}\" sprite-image-height=\"{sprite_size}\" id=\"elem\" height=\"800\"></facets-dive>\n"," <script>\n"," document.querySelector(\"#elem\").data = {jsonstr};\n"," </script>\"\"\"\n",
.gitignoreAdded+1
Makefile+1-1
facets-dive.ipynb+32-23