Pythonを操作できるpandas DataFrames の GUI「bamboolib」のインストールについて解説しています。
「bamboolib」(https://bamboolib.8080labs.com/)は、データ アナリストや科学者でなくても、Jupyter NotebookまたはJupyterLabでPythonを操作できるようにするpandas DataFramesのGUI(グラフィカルユーザインターフェース)です。
■Python
今回のPythonのバージョンは、「3.8.5」を使用しています。(Windows10)(pythonランチャーでの確認)
■bamboolibをインストールする
bamboolibをインストールを行いますが、今回はpipを経由してインストールを行うので、まずWindowsのコマンドプロンプトを起動します。
pip install bamboolib
起動後、上記のコマンドを入力し、Enterキーを押します。
なお、今回は、pythonランチャーを使用しており、Python Version 3.8.5にインストールを行うために、バージョンの切り替えを行います。
py -3.8 -m pip install bamboolib
切り替えるために、上記のコマンドを入力し、Enterキーを押します。
Defaulting to user installation because normal site-packages is not writeable Collecting bamboolib Downloading bamboolib-1.30.16-py3-none-any.whl (2.8 MB) ---------------------------------------- 2.8/2.8 MB 2.4 MB/s eta 0:00:00 Collecting pandas<2.0.0,>=1.1.0 Using cached pandas-1.4.3-cp38-cp38-win_amd64.whl (10.6 MB) Collecting analytics-python==1.2.9 Downloading analytics_python-1.2.9-py2.py3-none-any.whl (13 kB) Collecting jedi<1.0.0 Using cached jedi-0.18.1-py2.py3-none-any.whl (1.6 MB) Collecting cryptography<3.0.0,>=2.6.1 Downloading cryptography-2.9.2-cp38-cp38-win_amd64.whl (1.5 MB) ---------------------------------------- 1.5/1.5 MB 2.4 MB/s eta 0:00:00 Collecting ppscore<2.0.0,>=1.2.0 Downloading ppscore-1.2.0.tar.gz (47 kB) ---------------------------------------- 47.1/47.1 kB 1.2 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting toml>=0.10.0 Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting xlrd>=1.0.0 Using cached xlrd-2.0.1-py2.py3-none-any.whl (96 kB) Collecting ipywidgets<8.0.0,>=7.6.0 Downloading ipywidgets-7.7.1-py2.py3-none-any.whl (123 kB) ---------------------------------------- 123.4/123.4 kB 7.5 MB/s eta 0:00:00 Collecting packaging>=19.2 Using cached packaging-21.3-py3-none-any.whl (40 kB) Collecting statsmodels<1.0.0 Using cached statsmodels-0.13.2-cp38-cp38-win_amd64.whl (9.1 MB) Collecting attrs>=20.3.0 Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB) ---------------------------------------- 58.8/58.8 kB 3.0 MB/s eta 0:00:00 Collecting ipyslickgrid==0.0.3 Downloading ipyslickgrid-0.0.3.tar.gz (51.4 MB) ---------------------------------------- 51.4/51.4 MB 5.1 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting plotly<6.0.0,>=4.9.0 Downloading plotly-5.10.0-py2.py3-none-any.whl (15.2 MB) ---------------------------------------- 15.2/15.2 MB 5.8 MB/s eta 0:00:00 Collecting pygments Downloading Pygments-2.13.0-py3-none-any.whl (1.1 MB) ---------------------------------------- 1.1/1.1 MB 5.8 MB/s eta 0:00:00 Collecting scikit-learn<2.0.0,>=0.20.2 Using cached scikit_learn-1.1.2-cp38-cp38-win_amd64.whl (7.3 MB) Collecting psutil<6,>=5.4.2 Using cached psutil-5.9.1-cp38-cp38-win_amd64.whl (246 kB) Collecting python-dateutil>2.1 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting six>=1.5 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting requests<3.0,>=2.7 Using cached requests-2.28.1-py3-none-any.whl (62 kB) Collecting notebook>=4.0.0 Downloading notebook-6.4.12-py3-none-any.whl (9.9 MB) ---------------------------------------- 9.9/9.9 MB 5.8 MB/s eta 0:00:00 Collecting cffi!=1.11.3,>=1.8 Using cached cffi-1.15.1-cp38-cp38-win_amd64.whl (178 kB) Collecting jupyterlab-widgets>=1.0.0 Downloading jupyterlab_widgets-1.1.1-py3-none-any.whl (245 kB) ---------------------------------------- 245.3/245.3 kB 5.0 MB/s eta 0:00:00 Collecting ipykernel>=4.5.1 Downloading ipykernel-6.15.1-py3-none-any.whl (132 kB) ---------------------------------------- 132.9/132.9 kB 7.7 MB/s eta 0:00:00 Collecting widgetsnbextension~=3.6.0 Downloading widgetsnbextension-3.6.1-py2.py3-none-any.whl (1.6 MB) ---------------------------------------- 1.6/1.6 MB 5.6 MB/s eta 0:00:00 Collecting ipython>=4.0.0 Downloading ipython-8.4.0-py3-none-any.whl (750 kB) ---------------------------------------- 750.8/750.8 kB 5.3 MB/s eta 0:00:00 Collecting ipython-genutils~=0.2.0 Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB) Collecting traitlets>=4.3.1 Using cached traitlets-5.3.0-py3-none-any.whl (106 kB) Collecting parso<0.9.0,>=0.8.0 Using cached parso-0.8.3-py2.py3-none-any.whl (100 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB) Requirement already satisfied: numpy>=1.18.5 in c:\users\user_\appdata\roaming\python\python38\site-packages (from pandas<2.0.0,>=1.1.0->bamboolib) (1.23.2) Collecting pytz>=2020.1 Using cached pytz-2022.2.1-py2.py3-none-any.whl (500 kB) Collecting tenacity>=6.2.0 Using cached tenacity-8.0.1-py3-none-any.whl (24 kB) Collecting scikit-learn<2.0.0,>=0.20.2 Using cached scikit_learn-0.24.2-cp38-cp38-win_amd64.whl (6.9 MB) Requirement already satisfied: joblib>=0.11 in c:\users\user_\appdata\roaming\python\python38\site-packages (from scikit-learn<2.0.0,>=0.20.2->bamboolib) (1.1.0) Collecting threadpoolctl>=2.0.0 Using cached threadpoolctl-3.1.0-py3-none-any.whl (14 kB) Collecting scipy>=0.19.1 Using cached scipy-1.9.0-cp38-cp38-win_amd64.whl (38.6 MB) Collecting patsy>=0.5.2 Using cached patsy-0.5.2-py2.py3-none-any.whl (233 kB) Collecting pycparser Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB) Collecting tornado>=6.1 Downloading tornado-6.2-cp37-abi3-win_amd64.whl (425 kB) ---------------------------------------- 425.3/425.3 kB 4.5 MB/s eta 0:00:00 Collecting nest-asyncio Using cached nest_asyncio-1.5.5-py3-none-any.whl (5.2 kB) Collecting pyzmq>=17 Downloading pyzmq-23.2.1-cp38-cp38-win_amd64.whl (1.1 MB) ---------------------------------------- 1.1/1.1 MB 6.1 MB/s eta 0:00:00 Collecting matplotlib-inline>=0.1 Downloading matplotlib_inline-0.1.5-py3-none-any.whl (9.4 kB) Collecting debugpy>=1.0 Downloading debugpy-1.6.3-cp38-cp38-win_amd64.whl (4.6 MB) ---------------------------------------- 4.6/4.6 MB 4.8 MB/s eta 0:00:00 Collecting jupyter-client>=6.1.12 Using cached jupyter_client-7.3.4-py3-none-any.whl (132 kB) Collecting pickleshare Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB) Collecting decorator Using cached decorator-5.1.1-py3-none-any.whl (9.1 kB) Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 Downloading prompt_toolkit-3.0.30-py3-none-any.whl (381 kB) ---------------------------------------- 381.7/381.7 kB 5.9 MB/s eta 0:00:00 Collecting stack-data Downloading stack_data-0.4.0-py3-none-any.whl (23 kB) Requirement already satisfied: colorama in c:\users\user_\appdata\roaming\python\python38\site-packages (from ipython>=4.0.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (0.4.5) Collecting backcall Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB) Requirement already satisfied: setuptools>=18.5 in c:\users\user_\appdata\roaming\python\python38\site-packages (from ipython>=4.0.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (62.3.3) Collecting jinja2 Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB) Collecting argon2-cffi Using cached argon2_cffi-21.3.0-py3-none-any.whl (14 kB) Collecting prometheus-client Using cached prometheus_client-0.14.1-py3-none-any.whl (59 kB) Collecting jupyter-core>=4.6.1 Downloading jupyter_core-4.11.1-py3-none-any.whl (88 kB) ---------------------------------------- 88.4/88.4 kB 5.2 MB/s eta 0:00:00 Collecting terminado>=0.8.3 Downloading terminado-0.15.0-py3-none-any.whl (16 kB) Collecting Send2Trash>=1.8.0 Using cached Send2Trash-1.8.0-py3-none-any.whl (18 kB) Collecting nbconvert>=5 Downloading nbconvert-6.5.3-py3-none-any.whl (563 kB) ---------------------------------------- 563.8/563.8 kB 5.1 MB/s eta 0:00:00 Collecting nbformat Using cached nbformat-5.4.0-py3-none-any.whl (73 kB) Collecting charset-normalizer<3,>=2 Using cached charset_normalizer-2.1.0-py3-none-any.whl (39 kB) Collecting idna<4,>=2.5 Using cached idna-3.3-py3-none-any.whl (61 kB) Collecting urllib3<1.27,>=1.21.1 Using cached urllib3-1.26.11-py2.py3-none-any.whl (139 kB) Collecting certifi>=2017.4.17 Using cached certifi-2022.6.15-py3-none-any.whl (160 kB) Collecting entrypoints Using cached entrypoints-0.4-py3-none-any.whl (5.3 kB) Requirement already satisfied: pywin32>=1.0 in c:\users\user_\appdata\roaming\python\python38\site-packages (from jupyter-core>=4.6.1->notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (304) Collecting tinycss2 Using cached tinycss2-1.1.1-py3-none-any.whl (21 kB) Collecting nbclient>=0.5.0 Downloading nbclient-0.6.6-py3-none-any.whl (71 kB) ---------------------------------------- 71.8/71.8 kB 3.8 MB/s eta 0:00:00 Collecting bleach Downloading bleach-5.0.1-py3-none-any.whl (160 kB) ---------------------------------------- 160.9/160.9 kB 10.0 MB/s eta 0:00:00 Collecting mistune<2,>=0.8.1 Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB) Collecting pandocfilters>=1.4.1 Using cached pandocfilters-1.5.0-py2.py3-none-any.whl (8.7 kB) Collecting defusedxml Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting lxml Using cached lxml-4.9.1-cp38-cp38-win_amd64.whl (3.6 MB) Collecting beautifulsoup4 Using cached beautifulsoup4-4.11.1-py3-none-any.whl (128 kB) Collecting jupyterlab-pygments Using cached jupyterlab_pygments-0.2.2-py2.py3-none-any.whl (21 kB) Collecting MarkupSafe>=2.0 Using cached MarkupSafe-2.1.1-cp38-cp38-win_amd64.whl (17 kB) Collecting fastjsonschema Downloading fastjsonschema-2.16.1-py3-none-any.whl (22 kB) Collecting jsonschema>=2.6 Downloading jsonschema-4.10.2-py3-none-any.whl (81 kB) ---------------------------------------- 81.1/81.1 kB 2.3 MB/s eta 0:00:00 Collecting wcwidth Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB) Collecting pywinpty>=1.1.0 Downloading pywinpty-2.0.7-cp38-none-win_amd64.whl (1.4 MB) ---------------------------------------- 1.4/1.4 MB 5.9 MB/s eta 0:00:00 Collecting argon2-cffi-bindings Using cached argon2_cffi_bindings-21.2.0-cp36-abi3-win_amd64.whl (30 kB) Collecting pure-eval Using cached pure_eval-0.2.2-py3-none-any.whl (11 kB) Collecting executing Downloading executing-0.10.0-py2.py3-none-any.whl (17 kB) Collecting asttokens Downloading asttokens-2.0.8-py2.py3-none-any.whl (23 kB) Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Using cached pyrsistent-0.18.1-cp38-cp38-win_amd64.whl (61 kB) Collecting importlib-resources>=1.4.0 Using cached importlib_resources-5.9.0-py3-none-any.whl (33 kB) Collecting pkgutil-resolve-name>=1.3.10 Using cached pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB) Collecting soupsieve>1.2 Using cached soupsieve-2.3.2.post1-py3-none-any.whl (37 kB) Collecting webencodings Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting zipp>=3.1.0 Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB) Building wheels for collected packages: ipyslickgrid, ppscore Building wheel for ipyslickgrid (setup.py) ... done Created wheel for ipyslickgrid: filename=ipyslickgrid-0.0.3-py2.py3-none-any.whl size=1823269 sha256=6153ad830a6d1d0bfff5ceae9872de9d7161433b6c2d09a07fe8956e79be20cf Stored in directory: c:\users\user_\appdata\local\pip\cache\wheels\ef\9b\b9\d0b565dfa32cb5e035a2e3c95cf3785b51e71787585a4e0779 Building wheel for ppscore (setup.py) ... done Created wheel for ppscore: filename=ppscore-1.2.0-py2.py3-none-any.whl size=13067 sha256=25422756df08714714bb0b19191a5c746dc96c4a818ce3710acef8636ceb20ec Stored in directory: c:\users\user_\appdata\local\pip\cache\wheels\fb\0e\65\da65ce669381fc01b6ef990d301d3586991f89bff1175877a4 Successfully built ipyslickgrid ppscore Installing collected packages: webencodings, wcwidth, Send2Trash, pytz, pure-eval, pickleshare, mistune, ipython-genutils, fastjsonschema, executing, backcall, zipp, xlrd, urllib3, traitlets, tornado, toml, tinycss2, threadpoolctl, tenacity, soupsieve, six, scipy, pyzmq, pywinpty, pyrsistent, pyparsing, pygments, pycparser, psutil, prompt-toolkit, prometheus-client, pkgutil-resolve-name, parso, pandocfilters, nest-asyncio, MarkupSafe, lxml, jupyterlab-widgets, jupyterlab-pygments, idna, entrypoints, defusedxml, decorator, debugpy, charset-normalizer, certifi, attrs, terminado, scikit-learn, requests, python-dateutil, plotly, patsy, packaging, matplotlib-inline, jupyter-core, jinja2, jedi, importlib-resources, cffi, bleach, beautifulsoup4, asttokens, stack-data, pandas, jupyter-client, jsonschema, cryptography, argon2-cffi-bindings, analytics-python, statsmodels, ppscore, nbformat, ipython, argon2-cffi, nbclient, ipykernel, nbconvert, notebook, widgetsnbextension, ipywidgets, ipyslickgrid, bamboolib Successfully installed MarkupSafe-2.1.1 Send2Trash-1.8.0 analytics-python-1.2.9 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 asttokens-2.0.8 attrs-22.1.0 backcall-0.2.0 bamboolib-1.30.16 beautifulsoup4-4.11.1 bleach-5.0.1 certifi-2022.6.15 cffi-1.15.1 charset-normalizer-2.1.0 cryptography-2.9.2 debugpy-1.6.3 decorator-5.1.1 defusedxml-0.7.1 entrypoints-0.4 executing-0.10.0 fastjsonschema-2.16.1 idna-3.3 importlib-resources-5.9.0 ipykernel-6.15.1 ipyslickgrid-0.0.3 ipython-8.4.0 ipython-genutils-0.2.0 ipywidgets-7.7.1 jedi-0.18.1 jinja2-3.1.2 jsonschema-4.10.2 jupyter-client-7.3.4 jupyter-core-4.11.1 jupyterlab-pygments-0.2.2 jupyterlab-widgets-1.1.1 lxml-4.9.1 matplotlib-inline-0.1.5 mistune-0.8.4 nbclient-0.6.6 nbconvert-6.5.3 nbformat-5.4.0 nest-asyncio-1.5.5 notebook-6.4.12 packaging-21.3 pandas-1.4.3 pandocfilters-1.5.0 parso-0.8.3 patsy-0.5.2 pickleshare-0.7.5 pkgutil-resolve-name-1.3.10 plotly-5.10.0 ppscore-1.2.0 prometheus-client-0.14.1 prompt-toolkit-3.0.30 psutil-5.9.1 pure-eval-0.2.2 pycparser-2.21 pygments-2.13.0 pyparsing-3.0.9 pyrsistent-0.18.1 python-dateutil-2.8.2 pytz-2022.2.1 pywinpty-2.0.7 pyzmq-23.2.1 requests-2.28.1 scikit-learn-0.24.2 scipy-1.9.0 six-1.16.0 soupsieve-2.3.2.post1 stack-data-0.4.0 statsmodels-0.13.2 tenacity-8.0.1 terminado-0.15.0 threadpoolctl-3.1.0 tinycss2-1.1.1 toml-0.10.2 tornado-6.2 traitlets-5.3.0 urllib3-1.26.11 wcwidth-0.2.5 webencodings-0.5.1 widgetsnbextension-3.6.1 xlrd-2.0.1 zipp-3.8.1
Enterキーを押すと、インストールが開始され、上記のように「Successfully installed」と表示されます。これが表示されれば、bamboolibが正常にインストールされたことになります。
今回は、bamboolibのバージョン1.30.16をインストールしました。
コメント