Code Monkey home page Code Monkey logo

bamboolib's People

Contributors

florianwetschoreck avatar fwetdb avatar susmitpy avatar tkrabel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bamboolib's Issues

[Bug] Cannot import bamboolib on Kaggle anymore

Environment

  • Operating System:

  • Python Version: Python 3.7.6

  • How did you install bamboolib: (pip, conda, or other (please explain))
    Just like it was mentioned in the docs/Kaggle kernel

  • Python packages:
    (I can provide this if necessary from the Kaggle environment)

  • If bamboolib is used with JupyterLab: JupyterLab extensions (Kaggle's environment):

JupyterLab v2.2.5
Known labextensions:
   app dir: /opt/conda/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v1.1.0 �[32m enabled �[0m �[31m X�[0m
        @jupyterlab/celltags v0.2.0 �[32m enabled �[0m �[31m X�[0m
        @jupyterlab/git v0.10.0 �[32m enabled �[0m �[31m X�[0m
        jupyterlab-plotly v1.5.1 �[32m enabled �[0m �[31m X�[0m
        nbdime-jupyterlab v1.0.0 �[32m enabled �[0m �[31m X�[0m
        plotlywidget v1.5.1 �[32m enabled �[0m �[32mOK�[0m

   The following extension are outdated:
        @jupyter-widgets/jupyterlab-manager
        @jupyterlab/celltags
        @jupyterlab/git
        jupyterlab-plotly
        nbdime-jupyterlab
        
   Consider running "jupyter labextension update --all" to check for updates.


Build recommended, please run `jupyter lab build`:
    plotlywidget needs to be included in build
  • If bamboolib is used with Jupyter Notebook: Notebook extension: jupyter nbextension list
    (I can provide this if necessary from the Kaggle environment)

Description of Issue

Tried to import Bamboolib but got the below error instead:

---------------------------------------------------------------------------
ContextualVersionConflict                 Traceback (most recent call last)
<ipython-input-67-43382a4ff33a> in <module>
----> 1 import bamboolib as bam

/opt/conda/lib/python3.7/site-packages/bamboolib/__init__.py in <module>
      4 
      5 try:
----> 6     __version__ = get_distribution(__name__).version
      7 except DistributionNotFound:
      8     __version__ = "unknown"

/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py in get_distribution(dist)
    480         dist = Requirement.parse(dist)
    481     if isinstance(dist, Requirement):
--> 482         dist = get_provider(dist)
    483     if not isinstance(dist, Distribution):
    484         raise TypeError("Expected string, Requirement, or Distribution", dist)

/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py in get_provider(moduleOrReq)
    356     """Return an IResourceProvider for the named module or requirement"""
    357     if isinstance(moduleOrReq, Requirement):
--> 358         return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
    359     try:
    360         module = sys.modules[moduleOrReq]

/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py in require(self, *requirements)
    899         included, even if they were already activated in this working set.
    900         """
--> 901         needed = self.resolve(parse_requirements(requirements))
    902 
    903         for dist in needed:

/opt/conda/lib/python3.7/site-packages/pkg_resources/__init__.py in resolve(self, requirements, env, installer, replace_conflicting, extras)
    790                 # Oops, the "best" so far conflicts with a dependency
    791                 dependent_req = required_by[req]
--> 792                 raise VersionConflict(dist, req).with_context(dependent_req)
    793 
    794             # push the new requirements onto the stack

ContextualVersionConflict: (jupyterlab 1.2.10 (/opt/conda/lib/python3.7/site-packages), Requirement.parse('jupyterlab<3.0,>=2.0'), {'bamboolib'})

Reproduction Steps

Use this kernel and try to run it https://www.kaggle.com/neomatrix369/chaieda-sessions-titanic-using-tools

What steps have you taken to resolve this already?

Nothing yet

Create new column formula, replacement error

Environment

  • Operating System: Linux
  • Python Version: Python 3.9.16
  • How did you install bamboolib: pip
  • Python packages:
Package                   Version
------------------------- ---------
aiofiles                  22.1.0
aiosqlite                 0.18.0
ansi                      0.3.6
anyio                     3.6.2
argon2-cffi               21.3.0
argon2-cffi-bindings      21.2.0
arrow                     1.2.3
astroid                   2.13.5
asttokens                 2.2.1
astunparse                1.6.3
attrs                     22.2.0
Babel                     2.11.0
backcall                  0.2.0
bamboolib                 1.30.19
beautifulsoup4            4.11.2
binaryornot               0.4.4
bleach                    6.0.0
boto3                     1.26.47
botocore                  1.29.63
certifi                   2022.12.7
cffi                      1.15.1
chardet                   5.1.0
charset-normalizer        3.1.0
cleverdict                1.9.2
click                     8.1.3
click-plugins             1.1.1
cligj                     0.7.2
colorama                  0.4.6
comm                      0.1.2
conda-pack                0.7.0
cookiecutter              2.1.1
cryptography              39.0.0
cx-Oracle                 8.3.0
cycler                    0.11.0
damenu                    0.3.1
DAutils                   0.3
debugpy                   1.6.6
decorator                 5.1.1
defusedxml                0.7.1
descartes                 1.1.0
dill                      0.3.6
et-xmlfile                1.1.0
executing                 1.2.0
fastjsonschema            2.16.2
Fiona                     1.9.0
flake8                    6.0.0
fonttools                 4.38.0
fqdn                      1.5.1
fsspec                    2023.1.0
future                    0.18.3
geopandas                 0.12.2
gitdb                     4.0.10
GitPython                 3.1.30
graphviz                  0.20.1
greenlet                  2.0.2
idna                      3.4
importlib-metadata        6.0.0
ipykernel                 6.21.1
ipyslickgrid              0.0.3
ipython                   8.9.0
ipython-genutils          0.2.0
ipywidgets                7.7.2
isoduration               20.11.0
isort                     5.12.0
jedi                      0.18.2
Jinja2                    3.1.2
jinja2-time               0.2.0
jmespath                  1.0.1
joblib                    1.2.0
json5                     0.9.11
jsonpointer               2.3
jsonschema                4.17.3
jupyter_client            8.0.3
jupyter_core              5.2.0
jupyter-events            0.5.0
jupyter_server            2.0.6
jupyter_server_fileid     0.6.0
jupyter-server-mathjax    0.2.6
jupyter_server_terminals  0.4.4
jupyter_server_ydoc       0.6.1
jupyter-ydoc              0.2.2
jupyterlab                3.5.2
jupyterlab-git            0.41.0
jupyterlab-pygments       0.2.2
jupyterlab_server         2.19.0
jupyterlab-widgets        1.1.1
kiwisolver                1.4.4
lazy-object-proxy         1.9.0
MarkupSafe                2.1.2
matplotlib                3.5.3
matplotlib-inline         0.1.6
mccabe                    0.7.0
mistune                   2.0.5
munch                     2.5.0
nbclassic                 0.5.1
nbclient                  0.7.2
nbconvert                 7.2.9
nbdime                    3.1.1
nbformat                  5.7.3
nest-asyncio              1.5.6
notebook                  6.5.2
notebook_shim             0.2.2
numpy                     1.24.1
openpyxl                  3.0.10
packaging                 23.0
pandarallel               1.6.4
pandas                    1.5.2
pandocfilters             1.5.0
parso                     0.8.3
patsy                     0.5.3
pexpect                   4.8.0
pickleshare               0.7.5
Pillow                    9.4.0
pip                       22.3.1
platformdirs              3.0.0
plotly                    5.11.0
ppscore                   1.3.0
prometheus-client         0.16.0
prompt-toolkit            3.0.36
psutil                    5.9.4
ptyprocess                0.7.0
pure-eval                 0.2.2
pyarrow                   10.0.1
pycodestyle               2.10.0
pycparser                 2.21
pyflakes                  3.0.1
pyflowchart               0.2.3
Pygments                  2.14.0
pylint                    2.15.10
pyparsing                 3.0.9
pyproj                    3.4.1
pyrsistent                0.19.3
python-dateutil           2.8.2
python-dotenv             0.21.0
python-highcharts         0.4.2
python-json-logger        2.0.4
python-slugify            8.0.1
pytz                      2022.7.1
PyYAML                    6.0
pyzmq                     25.0.0
requests                  2.28.2
rfc3339-validator         0.1.4
rfc3986-validator         0.1.1
s3fs                      0.4.2
s3transfer                0.6.0
scikit-learn              1.2.1
scipy                     1.10.0
Send2Trash                1.8.0
setuptools                65.6.3
shapely                   2.0.1
simple-term-menu          1.5.2
six                       1.16.0
smmap                     5.0.0
sniffio                   1.3.0
soupsieve                 2.4
SQLAlchemy                1.4.46
sqlalchemy-vertica-python 0.5.10
stack-data                0.6.2
statsmodels               0.13.5
tenacity                  8.1.0
terminado                 0.17.1
text-unidecode            1.3
threadpoolctl             3.1.0
tinycss2                  1.2.1
toml                      0.10.2
tomli                     2.0.1
tomlkit                   0.11.6
tornado                   6.2
tqdm                      4.64.1
traitlets                 5.9.0
typing_extensions         4.4.0
uri-template              1.2.0
urllib3                   1.26.14
vertica-python            1.2.0
verticapy                 0.12.0
wcwidth                   0.2.6
webcolors                 1.12
webencodings              0.5.1
websocket-client          1.5.0
wheel                     0.37.1
widgetsnbextension        3.6.1
wrapt                     1.14.1
xlrd                      2.0.1
xlwt                      1.3.0
y-py                      0.5.5
ypy-websocket             0.8.2
zipp                      3.12.0
  • If bamboolib is used with JupyterLab:
        jupyterlab-plotly v5.11.0 enabled OK
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        nbdime-jupyterlab v2.1.1 enabled OK
        @jupyterlab/git v0.41.0 enabled OK (python, jupyterlab-git)
        @jupyter-widgets/jupyterlab-manager v3.1.1 enabled OK (python, jupyterlab_widgets)

Description of Issue

My DataFrame has Columns, A B C D E

Create New Column Formula : newCol = A * 10

Because the replacement happens "naive", I'm left with pieces of the template in the error:

df['newCol'] = BAM_PLABAM_PLACdf['E']HOLBAM_PLACdf['E']HOLDdf['E']R_3_df['E']R_2_df['E']HOLBAM_PLACdf['E']HOLDdf['E']R_3_df['E']R_1_AM_PLABAM_PLACdf['E']HOLBAM_PLACdf['E']HOLDdf['E']R_3_df['E']R_2_df['E']HOLBAM_PLACdf['E']HOLDdf['E']R_3_df['E']R_0_ * 10

Reproduction Steps

  1. Have a table where Column names are single capital letters, A B D E ..
  2. Create any "New Column Formula" using those columns.

What steps have you taken to resolve this already?

Anything else?

...

Installation fails

Environment

  • Operating System: Ubuntu 22.04.1 LTS
  • Python Version: Python 3.7.13
  • How did you install bamboolib: Conda

Description of Issue

  • What did you expect to happen? I tried to install bamboolib from a fresh ubntu 22.04.01 installation using the conda instructions provided
  • What happened instead? The installation failed

Reproduction Steps

  1. Install a fresh installation of the latest Ubuntu and update
  2. Install Anaconda and update
  3. Follow the instruction for Bamboolib installation via conda found here : https://docs.bamboolib.8080labs.com/documentation/how-tos/installation-and-setup/install-bamboolib#installation-with-anaconda-virtual-environment
  4. Note that the following step returns an error: python -m bamboolib install_nbextensions

The error is as follows:

Trying to install bamboolib nbextension...
Traceback (most recent call last):
File "/home/ubuntu/anaconda3/envs/bamboolib/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/ubuntu/anaconda3/envs/bamboolib/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/ubuntu/.local/lib/python3.7/site-packages/bamboolib/main.py", line 38, in
install_nbextensions()
File "/home/ubuntu/.local/lib/python3.7/site-packages/bamboolib/setup/_extensions.py", line 42, in install_nbextensions
nbextensions.install_nbextension_python(extension, user=True)
File "/home/ubuntu/anaconda3/envs/bamboolib/lib/python3.7/site-packages/notebook/nbextensions.py", line 203, in install_nbextension_python
m, nbexts = _get_nbextension_metadata(module)
File "/home/ubuntu/anaconda3/envs/bamboolib/lib/python3.7/site-packages/notebook/nbextensions.py", line 1107, in _get_nbextension_metadata
m = import_item(module)
File "/home/ubuntu/anaconda3/envs/bamboolib/lib/python3.7/site-packages/traitlets/utils/importstring.py", line 38, in import_item
return import(parts[0])
ModuleNotFoundError: No module named 'plotlywidget'

...

What steps have you taken to resolve this already?

...

Anything else?

...

cryptography super old version

Environment

  • Operating System: Ubuntu + Docker
  • Python Version: 3.9.10
  • How did you install bamboolib: pip
(base) jovyan@66c9eae4b466:~$ jupyter labextension list
JupyterLab v2.3.2
Known labextensions:
   app dir: /opt/conda/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v2.0.0  enabled  OK
        bamboolib v1.30.0  enabled  OK
        ipyslickgrid v0.0.3  enabled  OK
        jupyterlab-plotly v4.14.3  enabled  OK
        luxwidget v0.1.4  enabled  OK
        mitosheet v0.1.340  enabled  OK
        plotlywidget v4.14.3  enabled  OK`
(base) jovyan@66c9eae4b466:~$ pip list
Package                       Version
----------------------------- ---------
alembic                       1.7.6
altair                        4.2.0
analytics-python              1.2.9
ansiwrap                      0.8.4
anyio                         3.5.0
argon2-cffi                   21.3.0
argon2-cffi-bindings          21.2.0
asttokens                     2.0.5
async-generator               1.10
attrs                         21.4.0
autopep8                      1.6.0
Babel                         2.9.1
backcall                      0.2.0
backoff                       1.11.1
backports.functools-lru-cache 1.6.4
bamboolib                     1.30.0
beautifulsoup4                4.10.0
bleach                        4.1.0
blinker                       1.4
bokeh                         2.4.2
boto3                         1.21.24
botocore                      1.24.24
Bottleneck                    1.3.4
brotlipy                      0.7.0
cached-property               1.5.2
certifi                       2021.10.8
certipy                       0.1.3
cffi                          1.15.0
charset-normalizer            2.0.12
click                         8.0.4
cloudpickle                   2.0.0
colorama                      0.4.4
conda                         4.11.0
conda-package-handling        1.7.3
cryptography                  2.9.2
cycler                        0.11.0
Cython                        0.29.28
cytoolz                       0.11.2
dask                          2022.2.1
debugpy                       1.5.1
decorator                     5.1.1
defusedxml                    0.7.1
dill                          0.3.4
distributed                   2022.2.1
distro                        1.7.0
entrypoints                   0.4
executing                     0.8.3
flit_core                     3.7.1
fonttools                     4.30.0
fsspec                        2022.2.0
gmpy2                         2.1.2
greenlet                      1.1.2
h5py                          3.6.0
HeapDict                      1.0.1
humanize                      4.0.0
idna                          3.3
imagecodecs                   2022.2.22
imageio                       2.16.1
importlib-metadata            4.11.3
importlib-resources           5.4.0
ipdb                          0.13.9
ipykernel                     6.9.2
ipympl                        0.8.8
ipyslickgrid                  0.0.3
ipython                       7.32.0
ipython-genutils              0.2.0
ipywidgets                    7.6.5
iso3166                       2.0.2
jedi                          0.18.1
Jinja2                        3.0.3
jmespath                      1.0.0
joblib                        1.1.0
json5                         0.9.5
jsonschema                    4.4.0
jupyter                       1.0.0
jupyter-client                7.1.2
jupyter-console               6.4.3
jupyter-core                  4.9.2
jupyter-server                1.15.1
jupyter-telemetry             0.1.0
jupyterhub                    0.9.2
jupyterlab                    2.3.2
jupyterlab-pygments           0.1.2
jupyterlab-server             1.2.0
jupyterlab-widgets            1.0.2
jupytext                      1.13.7
kiwisolver                    1.3.2
libmambapy                    0.22.1
llvmlite                      0.38.0
locket                        0.2.0
lux-api                       0.5.1
lux-widget                    0.1.4
Mako                          1.2.0
mamba                         0.22.1
markdown-it-py                1.1.0
MarkupSafe                    2.1.0
matplotlib                    3.5.1
matplotlib-inline             0.1.3
mdit-py-plugins               0.3.0
mistune                       0.8.4
mitosheet                     0.1.340
monotonic                     1.6
mpmath                        1.2.1
msgpack                       1.0.3
munkres                       1.1.4
nbclassic                     0.3.6
nbclient                      0.5.13
nbconvert                     6.4.4
nbformat                      5.2.0
nest-asyncio                  1.5.4
networkx                      2.7.1
notebook                      6.4.9
notebook-shim                 0.1.0
numba                         0.55.1
numexpr                       2.8.0
numpy                         1.21.5
oauthlib                      3.2.0
packaging                     21.3
pamela                        1.0.0
pandas                        1.4.1
pandocfilters                 1.5.0
papermill                     2.3.4
parso                         0.8.3
partd                         1.2.0
patsy                         0.5.2
pexpect                       4.8.0
pickleshare                   0.7.5
Pillow                        9.0.1
pip                           22.0.4
ploomber                      0.16
ploomber-scaffold             0.3.1
plotly                        4.14.3
posthog                       1.4.5
ppscore                       1.2.0
prometheus-client             0.13.1
prompt-toolkit                3.0.27
protobuf                      3.19.4
psutil                        5.9.0
psycopg2                      2.9.3
ptyprocess                    0.7.0
pure-eval                     0.2.2
pycodestyle                   2.8.0
pycosat                       0.6.3
pycparser                     2.21
pycurl                        7.45.1
pydantic                      1.9.0
pyflakes                      2.4.0
Pygments                      2.11.2
pygraphviz                    1.9
PyJWT                         2.3.0
pyOpenSSL                     22.0.0
pyparsing                     3.0.7
pyrsistent                    0.18.1
PySocks                       1.7.1
python-dateutil               2.8.2
python-json-logger            2.0.1
python-oauth2                 1.1.1
pytz                          2021.3
PyWavelets                    1.3.0
PyYAML                        6.0
pyzmq                         22.3.0
qtconsole                     5.2.2
QtPy                          2.0.1
requests                      2.27.1
retrying                      1.3.3
ruamel.yaml                   0.17.21
ruamel.yaml.clib              0.2.6
ruamel-yaml-conda             0.15.80
s3transfer                    0.5.2
scikit-image                  0.19.2
scikit-learn                  0.24.2
scipy                         1.8.0
seaborn                       0.10.1
Send2Trash                    1.8.0
setuptools                    59.8.0
sh                            1.14.2
six                           1.16.0
sniffio                       1.2.0
sortedcontainers              2.4.0
soupsieve                     2.3.1
SQLAlchemy                    1.4.32
sqlparse                      0.4.2
stack-data                    0.2.0
statsmodels                   0.13.2
sympy                         1.10
tables                        3.7.0
tabulate                      0.8.9
tblib                         1.7.0
tenacity                      8.0.1
terminado                     0.13.3
testpath                      0.6.0
textwrap3                     0.9.2
threadpoolctl                 3.1.0
tifffile                      2022.2.9
toml                          0.10.2
toolz                         0.11.2
tornado                       6.1
tqdm                          4.63.0
traitlets                     5.1.1
typing_extensions             4.1.1
unicodedata2                  14.0.0
urllib3                       1.26.8
wcwidth                       0.2.5
webencodings                  0.5.1
websocket-client              1.3.1
wheel                         0.37.1
widgetsnbextension            3.5.2
xlrd                          2.0.1
zict                          2.1.0
zipp                          3.7.0

Description of Issue

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pyopenssl 22.0.0 requires cryptography>=35.0, but you have cryptography 2.9.2 which is incompatible.

Reproduction Steps

Triggered during pip install.

What steps have you taken to resolve this already?

None

Anything else?

I believe you should upgrade the cryptography 2.9.2 requirement because is far too old: https://pypi.org/project/cryptography/

[Docs] Test instructions page might be a bit more helpful with a screenshot or two

Environment

N/A

Description of Issue

When using the https://github.com/tkrabel/bamboolib/blob/master/installation/bamboolib_test_run/without_virtual_environment.md#test-the-library, I found that the screenshot mentioned is missing, best to help the user with possible screenshots of GUIs they are expected to see.

Reproduction Steps

Check docs in https://github.com/tkrabel/bamboolib/blob/master/installation/bamboolib_test_run/without_virtual_environment.md#test-the-library

What steps have you taken to resolve this already?

Still going through the docs to find out what the GUI should look like.

[Enhancement] Provide analysis/reports like how Dataiku provides

Description of Issue

It would be great to be able to see both the stats/graphs/charts of the dataset (or columns of the dataset) and also get recommendations/suggestions on what could be done to the dataset or the columns depending on the nature of the values in them - for eg. tools like Dataiku provide this even though we can take advantage of this manually only.

Have options like in Dataiku to generate a whole dataset summary stats and also per column (either by specific column name(s) or all of them)

And then also provide suggestions per column, on how to transform them - and also suggest the same for the dataset as a whole.

This might be an iterative process after applying each suggestion or the suggestions could be applied as a batch.

What steps have you taken to resolve this already?

Currently, I use other tools like Dataiku and the likes to get my analysis report(s).

Alternatively, we can do this:
Build up the stats piece by piece with existing functionality of pandas-profiling - maybe the stats and graphing parts produced just like Dataiku but suggestions and applying the suggestions on the columns or the whole dataset would need some thinking and writing of new functions/features.

Anything else

Screenshot of whole dataset stats:
Screen Shot 2019-10-18 at 01 53 47 - I find the stats quite comprehensive and gives good room to create a suggestion/recommendation builder

Screenshot of per column stats (just one column: id):
Screen Shot 2019-10-18 at 01 54 07

Screenshot of per column stats (just one column: funder):
Screen Shot 2019-10-18 at 02 02 57

Screenshot of per column stats (just one column: funder):
Screen Shot 2019-10-18 at 02 05 04

In Dataiku, depending on the data type of the column selected, the descriptive stats and the options along with are specific to the context the user is in.

Where is the source code of bamboolib

I think this project is open-source and we can get the source code by pip install. But there is no Python files except __init__.py in this the package directory. Where can we get the source code?

installation fails on building wheel for cryptography

Environment

  • Operating System: windows 11
  • Python Version: 3.9.12
  • How did you install bamboolib: pip inside conda base environment (i have also tried with standard python install on windows which failed the same way)
  • Python packages: fresh install of python with only bamboolib installed
  • If bamboolib is used with JupyterLab: JupyterLab extensions: see above
  • If bamboolib is used with Jupyter Notebook: Notebook extension: jupyter nbextension list

Description of Issue

  • Usually it installs fine and was previously working on same machine with windows 11 and python 3.9. Re-installed windows then fresh python and it fails every time.
    When installing bamboolib it fails first time stating MS visual c++ required. This is downloaded through build tools from link suggested in python. c++ version is latest community edition with recommended install options (i have also tried with earlier versions of c++ (2015,17 and 19 - same issue).

What steps have you taken to resolve this already?

One error says in error files (below) is to do with openssl - after adding openssl "include" and "lib" files to respective python folders, this error goes away but is left with the "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe' failed with exit code 2" error. I have researched extensively with no solution. I have tried updating pip, installing wheel, forcing version of cryptography to 2.9.2 - no solution. Now when trying to install cryptography using pip it fails with an error too.
...

Anything else?

error code:

Building wheel for cryptography (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\Nate\anaconda3\python.exe' 'C:\Users\Nate\anaconda3\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' build_wheel 'C:\Users\Nate\AppData\Local\Temp\tmpv9lm2if3'
cwd: C:\Users\Nate\AppData\Local\Temp\pip-install-9esg215_\cryptography_e5268f4a0055458e81a4a24c916c972a
Complete output (142 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-39
creating build\lib.win-amd64-cpython-39\cryptography
copying src\cryptography\exceptions.py -> build\lib.win-amd64-cpython-39\cryptography
copying src\cryptography\fernet.py -> build\lib.win-amd64-cpython-39\cryptography
copying src\cryptography\utils.py -> build\lib.win-amd64-cpython-39\cryptography
copying src\cryptography_about_.py -> build\lib.win-amd64-cpython-39\cryptography
copying src\cryptography_init_.py -> build\lib.win-amd64-cpython-39\cryptography
creating build\lib.win-amd64-cpython-39\cryptography\hazmat
copying src\cryptography\hazmat_der.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat
copying src\cryptography\hazmat_oid.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat
copying src\cryptography\hazmat_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat
creating build\lib.win-amd64-cpython-39\cryptography\x509
copying src\cryptography\x509\base.py -> build\lib.win-amd64-cpython-39\cryptography\x509
copying src\cryptography\x509\certificate_transparency.py -> build\lib.win-amd64-cpython-39\cryptography\x509
copying src\cryptography\x509\extensions.py -> build\lib.win-amd64-cpython-39\cryptography\x509
copying src\cryptography\x509\general_name.py -> build\lib.win-amd64-cpython-39\cryptography\x509
copying src\cryptography\x509\name.py -> build\lib.win-amd64-cpython-39\cryptography\x509
copying src\cryptography\x509\ocsp.py -> build\lib.win-amd64-cpython-39\cryptography\x509
copying src\cryptography\x509\oid.py -> build\lib.win-amd64-cpython-39\cryptography\x509
copying src\cryptography\x509_init_.py -> build\lib.win-amd64-cpython-39\cryptography\x509
creating build\lib.win-amd64-cpython-39\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends\interfaces.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends
copying src\cryptography\hazmat\backends_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends
creating build\lib.win-amd64-cpython-39\cryptography\hazmat\bindings
copying src\cryptography\hazmat\bindings_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\bindings
creating build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\cmac.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\constant_time.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\hashes.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\hmac.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives\keywrap.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives copying src\cryptography\hazmat\primitives\padding.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives copying src\cryptography\hazmat\primitives\poly1305.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives
copying src\cryptography\hazmat\primitives_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives
creating build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\aead.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\backend.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ciphers.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\cmac.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\decode_asn1.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\dh.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\dsa.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ec.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ed25519.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ed448.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\encode_asn1.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\hashes.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\hmac.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\ocsp.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\poly1305.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\rsa.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\utils.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\x25519.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\x448.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl\x509.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
copying src\cryptography\hazmat\backends\openssl_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\backends\openssl
creating build\lib.win-amd64-cpython-39\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl\binding.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl_conditional.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\bindings\openssl
copying src\cryptography\hazmat\bindings\openssl_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\bindings\openssl
creating build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\dh.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\dsa.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\ec.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\ed25519.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\ed448.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\padding.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\rsa.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\utils.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\x25519.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric\x448.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
copying src\cryptography\hazmat\primitives\asymmetric_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\asymmetric
creating build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\aead.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\algorithms.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\base.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers\modes.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\ciphers
copying src\cryptography\hazmat\primitives\ciphers_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\ciphers
creating build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\concatkdf.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\hkdf.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\kbkdf.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\pbkdf2.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\scrypt.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf\x963kdf.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\kdf
copying src\cryptography\hazmat\primitives\kdf_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\kdf
creating build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\serialization
copying src\cryptography\hazmat\primitives\serialization\base.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\serialization
copying src\cryptography\hazmat\primitives\serialization\pkcs12.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\serialization
copying src\cryptography\hazmat\primitives\serialization\ssh.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\serialization
copying src\cryptography\hazmat\primitives\serialization_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\serialization
creating build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\hotp.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\totp.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor\utils.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\twofactor
copying src\cryptography\hazmat\primitives\twofactor_init_.py -> build\lib.win-amd64-cpython-39\cryptography\hazmat\primitives\twofactor
running egg_info
writing src\cryptography.egg-info\PKG-INFO
writing dependency_links to src\cryptography.egg-info\dependency_links.txt
writing requirements to src\cryptography.egg-info\requires.txt
writing top-level names to src\cryptography.egg-info\top_level.txt
reading manifest file 'src\cryptography.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs_build'
warning: no previously-included files found matching 'vectors'
warning: no previously-included files matching '' found under directory 'vectors'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files found matching '.azure-pipelines'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching '.travis'
warning: no previously-included files matching '
' found under directory '.azure-pipelines'
warning: no previously-included files matching '*' found under directory '.travis'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching 'codecov.yml'
warning: no previously-included files found matching 'dev-requirements.txt'
warning: no previously-included files found matching 'rtd-requirements.txt'
warning: no previously-included files found matching 'tox.ini'
adding license file 'LICENSE'
adding license file 'LICENSE.APACHE'
adding license file 'LICENSE.BSD'
adding license file 'LICENSE.PSF'
adding license file 'AUTHORS.rst'
writing manifest file 'src\cryptography.egg-info\SOURCES.txt'
running build_ext
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_padding.c'
creating build\temp.win-amd64-cpython-39
creating build\temp.win-amd64-cpython-39\Release
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_constant_time.c'
generating cffi module 'build\temp.win-amd64-cpython-39\Release\_openssl.c'
building '_openssl' extension
creating build\temp.win-amd64-cpython-39\Release\build
creating build\temp.win-amd64-cpython-39\Release\build\temp.win-amd64-cpython-39
creating build\temp.win-amd64-cpython-39\Release\build\temp.win-amd64-cpython-39\Release
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Nate\anaconda3\include -IC:\Users\Nate\anaconda3\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcbuild\temp.win-amd64-cpython-39\Release_openssl.c /Fobuild\temp.win-amd64-cpython-39\Release\build\temp.win-amd64-cpython-39\Release_openssl.obj
_openssl.c
build\temp.win-amd64-cpython-39\Release_openssl.c(575): fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.32.31326\bin\HostX86\x64\cl.exe' failed with exit code 2

ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
...

I was trying to run the test installation bamboolib as suggested but it failed

Environment

  • Operating System:
    windows10
  • Python Version: $ python --version
    3.7
  • How did you install bamboolib: (pip, conda, or other (please explain))
    using conda, as per the instruction page on your site.
  • Python packages: $ pip list or $ conda list (please include bamboolib)

packages in environment at C:\Users\kvsse\anaconda3\envs\bamboolibenv:

Name Version Build Channel

argon2-cffi 20.1.0 py37he774522_1
async_generator 1.10 py37h28b3542_0
attrs 20.3.0 pyhd3eb1b0_0
backcall 0.2.0 py_0
bleach 3.2.1 py_0
brotlipy 0.7.0 py37he774522_1000
ca-certificates 2020.6.20 hecda079_0 conda-forge
certifi 2020.6.20 py37hf50a25e_2 conda-forge
cffi 1.14.3 py37h7a1dbc1_0
chardet 3.0.4 py37_1003
colorama 0.4.4 py_0
cryptography 3.1.1 py37h7a1dbc1_0
decorator 4.4.2 py_0
defusedxml 0.6.0 py_0
entrypoints 0.3 py37_0
icu 58.2 ha925a31_3
idna 2.10 py_0
importlib-metadata 2.0.0 py_1
importlib_metadata 2.0.0 1
intel-openmp 2020.2 254
ipykernel 5.3.4 py37h5ca1d4c_0
ipython 7.19.0 py37hd4e2768_0
ipython_genutils 0.2.0 py37_0
ipywidgets 7.5.1 py_1
jedi 0.17.2 py37_0
jinja2 2.11.2 py_0
jpeg 9b hb83a4c4_2
json5 0.9.5 py_0
jsonschema 3.2.0 py_2
jupyter 1.0.0 py37_7
jupyter_client 6.1.7 py_0
jupyter_console 6.2.0 py_0
jupyter_core 4.6.3 py37_0
jupyterlab 2.2.6 py_0
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 1.2.0 py_0
libblas 3.8.0 20_mkl conda-forge
libcblas 3.8.0 20_mkl conda-forge
liblapack 3.8.0 20_mkl conda-forge
libpng 1.6.37 h2a8f88b_0
libsodium 1.0.18 h62dcd97_0
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
markupsafe 1.1.1 py37hfa6e2cd_1
mistune 0.8.4 py37hfa6e2cd_1001
mkl 2020.2 256
msys2-conda-epoch 20160418 1
nbclient 0.5.1 py_0
nbconvert 6.0.7 py37_0
nbformat 5.0.8 py_0
nest-asyncio 1.4.1 py_0
notebook 6.1.4 py37_0
numpy 1.19.4 py37hd20adf4_1 conda-forge
openssl 1.1.1h he774522_0 conda-forge
packaging 20.4 py_0
pandoc 2.11 h9490d1a_0
pandocfilters 1.4.2 py37_1
parso 0.7.0 py_0
pickleshare 0.7.5 py37_1001
pip 20.2.4 py37haa95532_0
prometheus_client 0.8.0 py_0
prompt-toolkit 3.0.8 py_0
prompt_toolkit 3.0.8 0
pycparser 2.20 py_2
pygments 2.7.2 pyhd3eb1b0_0
pyopenssl 19.1.0 py_1
pyparsing 2.4.7 py_0
pyqt 5.9.2 py37h6538335_2
pyrsistent 0.17.3 py37he774522_0
pysocks 1.7.1 py37_1
python 3.7.9 h60c2a47_0
python-dateutil 2.8.1 py_0
python_abi 3.7 1_cp37m conda-forge
pywin32 227 py37he774522_1
pywinpty 0.5.7 py37_0
pyzmq 19.0.2 py37ha925a31_1
qt 5.9.7 vc14h73c81de_0
qtconsole 4.7.7 py_0
qtpy 1.9.0 py_0
requests 2.24.0 py_0
send2trash 1.5.0 py37_0
setuptools 50.3.1 py37haa95532_1
sip 4.19.8 py37h6538335_0
six 1.15.0 py_0
sqlite 3.33.0 h2a8f88b_0
terminado 0.9.1 py37_0
testpath 0.4.4 py_0
tornado 6.0.4 py37he774522_1
traitlets 5.0.5 py_0
urllib3 1.25.11 py_0
vc 14.1 h0510ff6_4
vs2015_runtime 14.16.27012 hf0eaf9b_3
wcwidth 0.2.5 py_0
webencodings 0.5.1 py37_1
wheel 0.35.1 py_0
widgetsnbextension 3.5.1 py37_0
win_inet_pton 1.1.0 py37_0
wincertstore 0.2 py37_0
winpty 0.4.3 4
zeromq 4.3.2 ha925a31_3
zipp 3.4.0 pyhd3eb1b0_0
zlib 1.2.11 h62dcd97_4

(bamboolibenv) C:\Users\kvsse>

  • If bamboolib is used with JupyterLab: JupyterLab extensions: jupyter labextension list
    (bamboolibenv) C:\Users\kvsse>jupyter labextension list
    JupyterLab v2.2.6
    No installed extensions
  • If bamboolib is used with Jupyter Notebook: Notebook extension: jupyter nbextension list

Description of Issue

  • What did you expect to happen?
    suppose to display pandas dataframe with your app button
  • What happened instead/
    displayed this message
    RuntimeError Traceback (most recent call last)
    in
    ----> 1 import bamboolib as bam
    2 import pandas as pd
    3 df = pd.read_csv(bam.titanic_csv)
    4 df

~\AppData\Roaming\Python\Python37\site-packages\bamboolib_init_.py in
17 # NOTE: you can think about removing this if we require matplotlib>3.3.1
18 try:
---> 19 import seaborn
20 except ImportError as import_error:
21 if "DLL load failed" in str(import_error):

~\AppData\Roaming\Python\Python37\site-packages\seaborn_init_.py in
1 # Capture the original matplotlib rcParams
----> 2 import matplotlib as mpl
3 _orig_rc_params = mpl.rcParams.copy()
4
5 # Import seaborn objects

~\AppData\Roaming\Python\Python37\site-packages\matplotlib_init_.py in
105 # cbook must import matplotlib only within function
106 # definitions, so it is safe to import from it here.
--> 107 from . import cbook, rcsetup
108 from matplotlib.cbook import MatplotlibDeprecationWarning, sanitize_sequence
109 from matplotlib.cbook import mplDeprecation # deprecated

~\AppData\Roaming\Python\Python37\site-packages\matplotlib\cbook_init_.py in
26 import weakref
27
---> 28 import numpy as np
29
30 import matplotlib

~\AppData\Roaming\Python\Python37\site-packages\numpy_init_.py in
303
304 if sys.platform == "win32" and sys.maxsize > 2**32:
--> 305 _win_os_check()
306
307 del _win_os_check

~\AppData\Roaming\Python\Python37\site-packages\numpy_init_.py in _win_os_check()
300 "See this issue for more information: "
301 "https://tinyurl.com/y3dm3h86")
--> 302 raise RuntimeError(msg.format(file)) from None
303
304 if sys.platform == "win32" and sys.maxsize > 2**32:

RuntimeError: The current Numpy installation ('C:\Users\kvsse\AppData\Roaming\Python\Python37\site-packages\numpy\init.py') fails to pass a sanity check due to a bug in the windows runtime. See this issue for more information: https://tinyurl.com/y3dm3h86

Reproduction Steps

...

What steps have you taken to resolve this already?

installed the latest version of numpy and tried the same error

...

Anything else?

...

Permission denied

Environment

  • Operating System: Ubuntu + Docker
  • Python Version: 3.9.10
  • How did you install bamboolib: pip
(base) jovyan@66c9eae4b466:~$ jupyter labextension list
JupyterLab v2.3.2
Known labextensions:
   app dir: /opt/conda/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v2.0.0  enabled  OK
        bamboolib v1.30.0  enabled  OK
        ipyslickgrid v0.0.3  enabled  OK
        jupyterlab-plotly v4.14.3  enabled  OK
        luxwidget v0.1.4  enabled  OK
        mitosheet v0.1.340  enabled  OK
        plotlywidget v4.14.3  enabled  OK`
(base) jovyan@66c9eae4b466:~$ pip list
Package                       Version
----------------------------- ---------
alembic                       1.7.6
altair                        4.2.0
analytics-python              1.2.9
ansiwrap                      0.8.4
anyio                         3.5.0
argon2-cffi                   21.3.0
argon2-cffi-bindings          21.2.0
asttokens                     2.0.5
async-generator               1.10
attrs                         21.4.0
autopep8                      1.6.0
Babel                         2.9.1
backcall                      0.2.0
backoff                       1.11.1
backports.functools-lru-cache 1.6.4
bamboolib                     1.30.0
beautifulsoup4                4.10.0
bleach                        4.1.0
blinker                       1.4
bokeh                         2.4.2
boto3                         1.21.24
botocore                      1.24.24
Bottleneck                    1.3.4
brotlipy                      0.7.0
cached-property               1.5.2
certifi                       2021.10.8
certipy                       0.1.3
cffi                          1.15.0
charset-normalizer            2.0.12
click                         8.0.4
cloudpickle                   2.0.0
colorama                      0.4.4
conda                         4.11.0
conda-package-handling        1.7.3
cryptography                  2.9.2
cycler                        0.11.0
Cython                        0.29.28
cytoolz                       0.11.2
dask                          2022.2.1
debugpy                       1.5.1
decorator                     5.1.1
defusedxml                    0.7.1
dill                          0.3.4
distributed                   2022.2.1
distro                        1.7.0
entrypoints                   0.4
executing                     0.8.3
flit_core                     3.7.1
fonttools                     4.30.0
fsspec                        2022.2.0
gmpy2                         2.1.2
greenlet                      1.1.2
h5py                          3.6.0
HeapDict                      1.0.1
humanize                      4.0.0
idna                          3.3
imagecodecs                   2022.2.22
imageio                       2.16.1
importlib-metadata            4.11.3
importlib-resources           5.4.0
ipdb                          0.13.9
ipykernel                     6.9.2
ipympl                        0.8.8
ipyslickgrid                  0.0.3
ipython                       7.32.0
ipython-genutils              0.2.0
ipywidgets                    7.6.5
iso3166                       2.0.2
jedi                          0.18.1
Jinja2                        3.0.3
jmespath                      1.0.0
joblib                        1.1.0
json5                         0.9.5
jsonschema                    4.4.0
jupyter                       1.0.0
jupyter-client                7.1.2
jupyter-console               6.4.3
jupyter-core                  4.9.2
jupyter-server                1.15.1
jupyter-telemetry             0.1.0
jupyterhub                    0.9.2
jupyterlab                    2.3.2
jupyterlab-pygments           0.1.2
jupyterlab-server             1.2.0
jupyterlab-widgets            1.0.2
jupytext                      1.13.7
kiwisolver                    1.3.2
libmambapy                    0.22.1
llvmlite                      0.38.0
locket                        0.2.0
lux-api                       0.5.1
lux-widget                    0.1.4
Mako                          1.2.0
mamba                         0.22.1
markdown-it-py                1.1.0
MarkupSafe                    2.1.0
matplotlib                    3.5.1
matplotlib-inline             0.1.3
mdit-py-plugins               0.3.0
mistune                       0.8.4
mitosheet                     0.1.340
monotonic                     1.6
mpmath                        1.2.1
msgpack                       1.0.3
munkres                       1.1.4
nbclassic                     0.3.6
nbclient                      0.5.13
nbconvert                     6.4.4
nbformat                      5.2.0
nest-asyncio                  1.5.4
networkx                      2.7.1
notebook                      6.4.9
notebook-shim                 0.1.0
numba                         0.55.1
numexpr                       2.8.0
numpy                         1.21.5
oauthlib                      3.2.0
packaging                     21.3
pamela                        1.0.0
pandas                        1.4.1
pandocfilters                 1.5.0
papermill                     2.3.4
parso                         0.8.3
partd                         1.2.0
patsy                         0.5.2
pexpect                       4.8.0
pickleshare                   0.7.5
Pillow                        9.0.1
pip                           22.0.4
ploomber                      0.16
ploomber-scaffold             0.3.1
plotly                        4.14.3
posthog                       1.4.5
ppscore                       1.2.0
prometheus-client             0.13.1
prompt-toolkit                3.0.27
protobuf                      3.19.4
psutil                        5.9.0
psycopg2                      2.9.3
ptyprocess                    0.7.0
pure-eval                     0.2.2
pycodestyle                   2.8.0
pycosat                       0.6.3
pycparser                     2.21
pycurl                        7.45.1
pydantic                      1.9.0
pyflakes                      2.4.0
Pygments                      2.11.2
pygraphviz                    1.9
PyJWT                         2.3.0
pyOpenSSL                     22.0.0
pyparsing                     3.0.7
pyrsistent                    0.18.1
PySocks                       1.7.1
python-dateutil               2.8.2
python-json-logger            2.0.1
python-oauth2                 1.1.1
pytz                          2021.3
PyWavelets                    1.3.0
PyYAML                        6.0
pyzmq                         22.3.0
qtconsole                     5.2.2
QtPy                          2.0.1
requests                      2.27.1
retrying                      1.3.3
ruamel.yaml                   0.17.21
ruamel.yaml.clib              0.2.6
ruamel-yaml-conda             0.15.80
s3transfer                    0.5.2
scikit-image                  0.19.2
scikit-learn                  0.24.2
scipy                         1.8.0
seaborn                       0.10.1
Send2Trash                    1.8.0
setuptools                    59.8.0
sh                            1.14.2
six                           1.16.0
sniffio                       1.2.0
sortedcontainers              2.4.0
soupsieve                     2.3.1
SQLAlchemy                    1.4.32
sqlparse                      0.4.2
stack-data                    0.2.0
statsmodels                   0.13.2
sympy                         1.10
tables                        3.7.0
tabulate                      0.8.9
tblib                         1.7.0
tenacity                      8.0.1
terminado                     0.13.3
testpath                      0.6.0
textwrap3                     0.9.2
threadpoolctl                 3.1.0
tifffile                      2022.2.9
toml                          0.10.2
toolz                         0.11.2
tornado                       6.1
tqdm                          4.63.0
traitlets                     5.1.1
typing_extensions             4.1.1
unicodedata2                  14.0.0
urllib3                       1.26.8
wcwidth                       0.2.5
webencodings                  0.5.1
websocket-client              1.3.1
wheel                         0.37.1
widgetsnbextension            3.5.2
xlrd                          2.0.1
zict                          2.1.0
zipp                          3.7.0

Description of Issue

PermissionError: [Errno 13] Permission denied: '/home/jovyan/.bamboolib/config.toml'

Reproduction Steps

Run example code:

import bamboolib as bam
import pandas as pd
df = pd.read_csv(bam.titanic_csv)
df

What steps have you taken to resolve this already?

None

Anything else?

None

[Docs] Where to key in the license key once provided?

Environment

N/A

Description of Issue

Received an email with the license key but no instructions on where to add this key, do we save this into some file for bamboolib to pick?

I also didn't see any direct docs on the repo or site leading me to instructions on how to use the license key.

What steps have you taken to resolve this already?

Raising this issue and possibly chatting to one of the creators/maintainers of the project

Not able to install

I am using Windows 8.1 pro and latest Visual C++ installed. I've tried installing it in Anaconda as well as Kaggle but this same error keeps
popping up

"Collecting bamboolib
Downloading bamboolib-1.30.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl (8.2 MB)
|████████████████████████████████| 8.2 MB 13.1 MB/s
Collecting plotly<5.0.0,>=4.9.0
Downloading plotly-4.14.3-py2.py3-none-any.whl (13.2 MB)
|████████████████████████████████| 13.2 MB 63.1 MB/s
Requirement already satisfied: scikit-learn<2.0.0,>=0.20.2 in /opt/conda/lib/python3.7/site-packages (from bamboolib) (0.23.2)
Collecting xlrd>=1.0.0
Downloading xlrd-2.0.1-py2.py3-none-any.whl (96 kB)
|████████████████████████████████| 96 kB 2.8 MB/s
Requirement already satisfied: psutil<6,>=5.4.2 in /opt/conda/lib/python3.7/site-packages (from bamboolib) (5.8.0)
Requirement already satisfied: pandas<2.0.0,>=1.1.0 in /opt/conda/lib/python3.7/site-packages (from bamboolib) (1.3.5)
Requirement already satisfied: packaging>=19.2 in /opt/conda/lib/python3.7/site-packages (from bamboolib) (21.3)
Requirement already satisfied: jedi<1.0.0 in /opt/conda/lib/python3.7/site-packages (from bamboolib) (0.18.1)
Requirement already satisfied: pygments in /opt/conda/lib/python3.7/site-packages (from bamboolib) (2.10.0)
Requirement already satisfied: toml>=0.10.0 in /opt/conda/lib/python3.7/site-packages (from bamboolib) (0.10.2)
Collecting seaborn<0.11,>=0.10
Downloading seaborn-0.10.1-py3-none-any.whl (215 kB)
|████████████████████████████████| 215 kB 25.6 MB/s
Requirement already satisfied: statsmodels<1.0.0 in /opt/conda/lib/python3.7/site-packages (from bamboolib) (0.13.1)
Collecting ipyslickgrid==0.0.3
Downloading ipyslickgrid-0.0.3.tar.gz (51.4 MB)
|████████████████████████████████| 51.4 MB 226 kB/s
Preparing metadata (setup.py) ... done
Collecting cryptography<3.0.0,>=2.6.1
Downloading cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl (2.7 MB)
|████████████████████████████████| 2.7 MB 26.2 MB/s
Requirement already satisfied: ipywidgets<8.0.0,>=7.6.0 in /opt/conda/lib/python3.7/site-packages (from bamboolib) (7.6.5)
Requirement already satisfied: attrs>=20.3.0 in /opt/conda/lib/python3.7/site-packages (from bamboolib) (21.2.0)
Collecting ppscore<2.0.0,>=1.2.0
Downloading ppscore-1.2.0.tar.gz (47 kB)
|████████████████████████████████| 47 kB 2.8 MB/s
Preparing metadata (setup.py) ... done
Collecting analytics-python==1.2.9
Downloading analytics_python-1.2.9-py2.py3-none-any.whl (13 kB)
Requirement already satisfied: requests<3.0,>=2.7 in /opt/conda/lib/python3.7/site-packages (from analytics-python==1.2.9->bamboolib) (2.26.0)
Requirement already satisfied: python-dateutil>2.1 in /opt/conda/lib/python3.7/site-packages (from analytics-python==1.2.9->bamboolib) (2.8.2)
Requirement already satisfied: six>=1.5 in /opt/conda/lib/python3.7/site-packages (from analytics-python==1.2.9->bamboolib) (1.16.0)
Requirement already satisfied: notebook>=4.0.0 in /opt/conda/lib/python3.7/site-packages (from ipyslickgrid==0.0.3->bamboolib) (6.4.6)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in /opt/conda/lib/python3.7/site-packages (from cryptography<3.0.0,>=2.6.1->bamboolib) (1.15.0)
Requirement already satisfied: nbformat>=4.2.0 in /opt/conda/lib/python3.7/site-packages (from ipywidgets<8.0.0,>=7.6.0->bamboolib) (5.1.3)
Requirement already satisfied: ipython-genutils~=0.2.0 in /opt/conda/lib/python3.7/site-packages (from ipywidgets<8.0.0,>=7.6.0->bamboolib) (0.2.0)
Requirement already satisfied: traitlets>=4.3.1 in /opt/conda/lib/python3.7/site-packages (from ipywidgets<8.0.0,>=7.6.0->bamboolib) (5.1.1)
Requirement already satisfied: widgetsnbextension~=3.5.0 in /opt/conda/lib/python3.7/site-packages (from ipywidgets<8.0.0,>=7.6.0->bamboolib) (3.5.2)
Requirement already satisfied: jupyterlab-widgets>=1.0.0 in /opt/conda/lib/python3.7/site-packages (from ipywidgets<8.0.0,>=7.6.0->bamboolib) (1.0.2)
Requirement already satisfied: ipython>=4.0.0 in /opt/conda/lib/python3.7/site-packages (from ipywidgets<8.0.0,>=7.6.0->bamboolib) (7.30.1)
Requirement already satisfied: ipykernel>=4.5.1 in /opt/conda/lib/python3.7/site-packages (from ipywidgets<8.0.0,>=7.6.0->bamboolib) (6.6.0)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in /opt/conda/lib/python3.7/site-packages (from jedi<1.0.0->bamboolib) (0.8.3)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in /opt/conda/lib/python3.7/site-packages (from packaging>=19.2->bamboolib) (3.0.6)
Requirement already satisfied: pytz>=2017.3 in /opt/conda/lib/python3.7/site-packages (from pandas<2.0.0,>=1.1.0->bamboolib) (2021.3)
Requirement already satisfied: numpy>=1.17.3 in /opt/conda/lib/python3.7/site-packages (from pandas<2.0.0,>=1.1.0->bamboolib) (1.20.3)
Requirement already satisfied: retrying>=1.3.3 in /opt/conda/lib/python3.7/site-packages (from plotly<5.0.0,>=4.9.0->bamboolib) (1.3.3)
Requirement already satisfied: threadpoolctl>=2.0.0 in /opt/conda/lib/python3.7/site-packages (from scikit-learn<2.0.0,>=0.20.2->bamboolib) (3.0.0)
Requirement already satisfied: joblib>=0.11 in /opt/conda/lib/python3.7/site-packages (from scikit-learn<2.0.0,>=0.20.2->bamboolib) (1.1.0)
Requirement already satisfied: scipy>=0.19.1 in /opt/conda/lib/python3.7/site-packages (from scikit-learn<2.0.0,>=0.20.2->bamboolib) (1.7.3)
Requirement already satisfied: matplotlib>=2.1.2 in /opt/conda/lib/python3.7/site-packages (from seaborn<0.11,>=0.10->bamboolib) (3.5.1)
Requirement already satisfied: patsy>=0.5.2 in /opt/conda/lib/python3.7/site-packages (from statsmodels<1.0.0->bamboolib) (0.5.2)
Requirement already satisfied: pycparser in /opt/conda/lib/python3.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography<3.0.0,>=2.6.1->bamboolib) (2.21)
Requirement already satisfied: debugpy<2.0,>=1.0.0 in /opt/conda/lib/python3.7/site-packages (from ipykernel>=4.5.1->ipywidgets<8.0.0,>=7.6.0->bamboolib) (1.5.1)
Requirement already satisfied: matplotlib-inline<0.2.0,>=0.1.0 in /opt/conda/lib/python3.7/site-packages (from ipykernel>=4.5.1->ipywidgets<8.0.0,>=7.6.0->bamboolib) (0.1.3)
Requirement already satisfied: tornado<7.0,>=4.2 in /opt/conda/lib/python3.7/site-packages (from ipykernel>=4.5.1->ipywidgets<8.0.0,>=7.6.0->bamboolib) (6.1)
Requirement already satisfied: importlib-metadata<5 in /opt/conda/lib/python3.7/site-packages (from ipykernel>=4.5.1->ipywidgets<8.0.0,>=7.6.0->bamboolib) (4.10.1)
Requirement already satisfied: argcomplete>=1.12.3 in /opt/conda/lib/python3.7/site-packages (from ipykernel>=4.5.1->ipywidgets<8.0.0,>=7.6.0->bamboolib) (1.12.3)
Requirement already satisfied: jupyter-client<8.0 in /opt/conda/lib/python3.7/site-packages (from ipykernel>=4.5.1->ipywidgets<8.0.0,>=7.6.0->bamboolib) (7.1.0)
Requirement already satisfied: decorator in /opt/conda/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (5.1.0)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in /opt/conda/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (3.0.24)
Requirement already satisfied: setuptools>=18.5 in /opt/conda/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (59.5.0)
Requirement already satisfied: pickleshare in /opt/conda/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (0.7.5)
Requirement already satisfied: backcall in /opt/conda/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (0.2.0)
Requirement already satisfied: pexpect>4.3 in /opt/conda/lib/python3.7/site-packages (from ipython>=4.0.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (4.8.0)
Requirement already satisfied: pillow>=6.2.0 in /opt/conda/lib/python3.7/site-packages (from matplotlib>=2.1.2->seaborn<0.11,>=0.10->bamboolib) (8.2.0)
Requirement already satisfied: cycler>=0.10 in /opt/conda/lib/python3.7/site-packages (from matplotlib>=2.1.2->seaborn<0.11,>=0.10->bamboolib) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /opt/conda/lib/python3.7/site-packages (from matplotlib>=2.1.2->seaborn<0.11,>=0.10->bamboolib) (4.28.4)
Requirement already satisfied: kiwisolver>=1.0.1 in /opt/conda/lib/python3.7/site-packages (from matplotlib>=2.1.2->seaborn<0.11,>=0.10->bamboolib) (1.3.2)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /opt/conda/lib/python3.7/site-packages (from nbformat>=4.2.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (4.3.1)
Requirement already satisfied: jupyter-core in /opt/conda/lib/python3.7/site-packages (from nbformat>=4.2.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (4.9.1)
Requirement already satisfied: argon2-cffi in /opt/conda/lib/python3.7/site-packages (from notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (21.1.0)
Requirement already satisfied: pyzmq>=17 in /opt/conda/lib/python3.7/site-packages (from notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (22.3.0)
Requirement already satisfied: nest-asyncio>=1.5 in /opt/conda/lib/python3.7/site-packages (from notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (1.5.4)
Requirement already satisfied: jinja2 in /opt/conda/lib/python3.7/site-packages (from notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (3.0.3)
Requirement already satisfied: Send2Trash>=1.8.0 in /opt/conda/lib/python3.7/site-packages (from notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (1.8.0)
Requirement already satisfied: nbconvert in /opt/conda/lib/python3.7/site-packages (from notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (6.3.0)
Requirement already satisfied: prometheus-client in /opt/conda/lib/python3.7/site-packages (from notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (0.12.0)
Requirement already satisfied: terminado>=0.8.3 in /opt/conda/lib/python3.7/site-packages (from notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (0.12.1)
Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests<3.0,>=2.7->analytics-python==1.2.9->bamboolib) (2021.10.8)
Requirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.7/site-packages (from requests<3.0,>=2.7->analytics-python==1.2.9->bamboolib) (3.1)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/lib/python3.7/site-packages (from requests<3.0,>=2.7->analytics-python==1.2.9->bamboolib) (1.26.7)
Requirement already satisfied: charset-normalizer~=2.0.0 in /opt/conda/lib/python3.7/site-packages (from requests<3.0,>=2.7->analytics-python==1.2.9->bamboolib) (2.0.9)
Requirement already satisfied: typing-extensions>=3.6.4 in /opt/conda/lib/python3.7/site-packages (from importlib-metadata<5->ipykernel>=4.5.1->ipywidgets<8.0.0,>=7.6.0->bamboolib) (4.0.1)
Requirement already satisfied: zipp>=0.5 in /opt/conda/lib/python3.7/site-packages (from importlib-metadata<5->ipykernel>=4.5.1->ipywidgets<8.0.0,>=7.6.0->bamboolib) (3.6.0)
Requirement already satisfied: importlib-resources>=1.4.0 in /opt/conda/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (5.4.0)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /opt/conda/lib/python3.7/site-packages (from jsonschema!=2.5.0,>=2.4->nbformat>=4.2.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (0.18.0)
Requirement already satisfied: entrypoints in /opt/conda/lib/python3.7/site-packages (from jupyter-client<8.0->ipykernel>=4.5.1->ipywidgets<8.0.0,>=7.6.0->bamboolib) (0.3)
Requirement already satisfied: ptyprocess>=0.5 in /opt/conda/lib/python3.7/site-packages (from pexpect>4.3->ipython>=4.0.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (0.7.0)
Requirement already satisfied: wcwidth in /opt/conda/lib/python3.7/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=4.0.0->ipywidgets<8.0.0,>=7.6.0->bamboolib) (0.2.5)
Requirement already satisfied: MarkupSafe>=2.0 in /opt/conda/lib/python3.7/site-packages (from jinja2->notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (2.0.1)
Requirement already satisfied: defusedxml in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (0.7.1)
Requirement already satisfied: bleach in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (4.1.0)
Requirement already satisfied: jupyterlab-pygments in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (0.1.2)
Requirement already satisfied: nbclient<0.6.0,>=0.5.0 in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (0.5.9)
Requirement already satisfied: testpath in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (0.5.0)
Requirement already satisfied: mistune<2,>=0.8.1 in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (0.8.4)
Requirement already satisfied: pandocfilters>=1.4.1 in /opt/conda/lib/python3.7/site-packages (from nbconvert->notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (1.5.0)
Requirement already satisfied: webencodings in /opt/conda/lib/python3.7/site-packages (from bleach->nbconvert->notebook>=4.0.0->ipyslickgrid==0.0.3->bamboolib) (0.5.1)
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=1823285 sha256=ff5626c97e25d645e6119746097866fde3d3aebef00851fac2bfb9f29191c798
Stored in directory: /root/.cache/pip/wheels/1a/a3/58/9c30cef9afebb4ca9f1e892e9245d676de3c2ae6e214e0781d
Building wheel for ppscore (setup.py) ... done
Created wheel for ppscore: filename=ppscore-1.2.0-py2.py3-none-any.whl size=13068 sha256=f1b8ebe3c13f99afcce336007f4df05176ac78b418e506b6adc3c32be8784a2f
Stored in directory: /root/.cache/pip/wheels/d2/3c/58/2ff786414b21713edc6f4fdb54fdee89ac37bca5edd1f60634
Successfully built ipyslickgrid ppscore
Installing collected packages: xlrd, seaborn, ppscore, plotly, ipyslickgrid, cryptography, analytics-python, bamboolib
Attempting uninstall: seaborn
Found existing installation: seaborn 0.11.2
Uninstalling seaborn-0.11.2:
Successfully uninstalled seaborn-0.11.2
Attempting uninstall: plotly
Found existing installation: plotly 5.5.0
Uninstalling plotly-5.5.0:
Successfully uninstalled plotly-5.5.0
Attempting uninstall: cryptography
Found existing installation: cryptography 36.0.1
Uninstalling cryptography-36.0.1:
Successfully uninstalled cryptography-36.0.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pyopenssl 21.0.0 requires cryptography>=3.3, but you have cryptography 2.9.2 which is incompatible.
Successfully installed analytics-python-1.2.9 bamboolib-1.30.0 cryptography-2.9.2 ipyslickgrid-0.0.3 plotly-4.14.3 ppscore-1.2.0 seaborn-0.10.1 xlrd-2.0.1
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Note: you may need to restart the kernel to use updated packages."

Kindly help

It seems that jupyterlab 4.0.6/jupyter notebook 7 is no longer compatible with bamboolib

#python -m bamboolib install_labextensions
Trying to install bamboolib labextensions...
Installing ipyslickgrid: ... done
Installing [email protected]: ... Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/opt/conda/lib/python3.11/site-packages/bamboolib/main.py", line 40, in
install_labextensions()
File "/opt/conda/lib/python3.11/site-packages/bamboolib/setup/_extensions.py", line 122, in install_labextensions
commands.install_extension(extension)
File "/opt/conda/lib/python3.11/site-packages/jupyterlab/commands.py", line 429, in install_extension
return handler.install_extension(extension, pin=pin)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/jupyterlab/commands.py", line 655, in install_extension
info = self._install_extension(extension, tempdir, pin=pin)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/jupyterlab/commands.py", line 1759, in _install_extension
raise ValueError(msg)
ValueError:
"[email protected]" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab Extension Package

=2.0.0 <3.0.0 >=1.2.3 <2.0.0 @lumino/messaging
=2.0.1 <3.0.0 >=1.8.1 <2.0.0 @lumino/widgets

[Bug] Filtering Rows by datetime not working

Please see attached image for reference
image
image

The images above should be self-explanatory; I created a simple data frame with some data and dates, however, filtering/dropping rows by date is not working simply because there's no quotes between the column name.

I've tried filtering on some other data types as well, and weirdly enough, this bug occurs only for datetime for me.

Hope this get fixed soon, this library is superbly useful and I can't wait to show my colleagues 😊

Merging/Joining dataframes, and dropping columns leaves the key column.

Environment

  • Operating System: Linux
  • Python Version: Python 3.9.16
  • How did you install bamboolib: pip
  • Python packages:
Package                   Version
------------------------- ---------
aiofiles                  22.1.0
aiosqlite                 0.18.0
ansi                      0.3.6
anyio                     3.6.2
argon2-cffi               21.3.0
argon2-cffi-bindings      21.2.0
arrow                     1.2.3
astroid                   2.13.5
asttokens                 2.2.1
astunparse                1.6.3
attrs                     22.2.0
Babel                     2.11.0
backcall                  0.2.0
bamboolib                 1.30.19
beautifulsoup4            4.11.2
binaryornot               0.4.4
bleach                    6.0.0
boto3                     1.26.47
botocore                  1.29.63
certifi                   2022.12.7
cffi                      1.15.1
chardet                   5.1.0
charset-normalizer        3.1.0
cleverdict                1.9.2
click                     8.1.3
click-plugins             1.1.1
cligj                     0.7.2
colorama                  0.4.6
comm                      0.1.2
conda-pack                0.7.0
cookiecutter              2.1.1
cryptography              39.0.0
cx-Oracle                 8.3.0
cycler                    0.11.0
damenu                    0.3.1
DAutils                   0.3
debugpy                   1.6.6
decorator                 5.1.1
defusedxml                0.7.1
descartes                 1.1.0
dill                      0.3.6
et-xmlfile                1.1.0
executing                 1.2.0
fastjsonschema            2.16.2
Fiona                     1.9.0
flake8                    6.0.0
fonttools                 4.38.0
fqdn                      1.5.1
fsspec                    2023.1.0
future                    0.18.3
geopandas                 0.12.2
gitdb                     4.0.10
GitPython                 3.1.30
graphviz                  0.20.1
greenlet                  2.0.2
idna                      3.4
importlib-metadata        6.0.0
ipykernel                 6.21.1
ipyslickgrid              0.0.3
ipython                   8.9.0
ipython-genutils          0.2.0
ipywidgets                7.7.2
isoduration               20.11.0
isort                     5.12.0
jedi                      0.18.2
Jinja2                    3.1.2
jinja2-time               0.2.0
jmespath                  1.0.1
joblib                    1.2.0
json5                     0.9.11
jsonpointer               2.3
jsonschema                4.17.3
jupyter_client            8.0.3
jupyter_core              5.2.0
jupyter-events            0.5.0
jupyter_server            2.0.6
jupyter_server_fileid     0.6.0
jupyter-server-mathjax    0.2.6
jupyter_server_terminals  0.4.4
jupyter_server_ydoc       0.6.1
jupyter-ydoc              0.2.2
jupyterlab                3.5.2
jupyterlab-git            0.41.0
jupyterlab-pygments       0.2.2
jupyterlab_server         2.19.0
jupyterlab-widgets        1.1.1
kiwisolver                1.4.4
lazy-object-proxy         1.9.0
MarkupSafe                2.1.2
matplotlib                3.5.3
matplotlib-inline         0.1.6
mccabe                    0.7.0
mistune                   2.0.5
munch                     2.5.0
nbclassic                 0.5.1
nbclient                  0.7.2
nbconvert                 7.2.9
nbdime                    3.1.1
nbformat                  5.7.3
nest-asyncio              1.5.6
notebook                  6.5.2
notebook_shim             0.2.2
numpy                     1.24.1
openpyxl                  3.0.10
packaging                 23.0
pandarallel               1.6.4
pandas                    1.5.2
pandocfilters             1.5.0
parso                     0.8.3
patsy                     0.5.3
pexpect                   4.8.0
pickleshare               0.7.5
Pillow                    9.4.0
pip                       22.3.1
platformdirs              3.0.0
plotly                    5.11.0
ppscore                   1.3.0
prometheus-client         0.16.0
prompt-toolkit            3.0.36
psutil                    5.9.4
ptyprocess                0.7.0
pure-eval                 0.2.2
pyarrow                   10.0.1
pycodestyle               2.10.0
pycparser                 2.21
pyflakes                  3.0.1
pyflowchart               0.2.3
Pygments                  2.14.0
pylint                    2.15.10
pyparsing                 3.0.9
pyproj                    3.4.1
pyrsistent                0.19.3
python-dateutil           2.8.2
python-dotenv             0.21.0
python-highcharts         0.4.2
python-json-logger        2.0.4
python-slugify            8.0.1
pytz                      2022.7.1
PyYAML                    6.0
pyzmq                     25.0.0
requests                  2.28.2
rfc3339-validator         0.1.4
rfc3986-validator         0.1.1
s3fs                      0.4.2
s3transfer                0.6.0
scikit-learn              1.2.1
scipy                     1.10.0
Send2Trash                1.8.0
setuptools                65.6.3
shapely                   2.0.1
simple-term-menu          1.5.2
six                       1.16.0
smmap                     5.0.0
sniffio                   1.3.0
soupsieve                 2.4
SQLAlchemy                1.4.46
sqlalchemy-vertica-python 0.5.10
stack-data                0.6.2
statsmodels               0.13.5
tenacity                  8.1.0
terminado                 0.17.1
text-unidecode            1.3
threadpoolctl             3.1.0
tinycss2                  1.2.1
toml                      0.10.2
tomli                     2.0.1
tomlkit                   0.11.6
tornado                   6.2
tqdm                      4.64.1
traitlets                 5.9.0
typing_extensions         4.4.0
uri-template              1.2.0
urllib3                   1.26.14
vertica-python            1.2.0
verticapy                 0.12.0
wcwidth                   0.2.6
webcolors                 1.12
webencodings              0.5.1
websocket-client          1.5.0
wheel                     0.37.1
widgetsnbextension        3.6.1
wrapt                     1.14.1
xlrd                      2.0.1
xlwt                      1.3.0
y-py                      0.5.5
ypy-websocket             0.8.2
zipp                      3.12.0
  • If bamboolib is used with JupyterLab:
        jupyterlab-plotly v5.11.0 enabled OK
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        nbdime-jupyterlab v2.1.1 enabled OK
        @jupyterlab/git v0.41.0 enabled OK (python, jupyterlab-git)
        @jupyter-widgets/jupyterlab-manager v3.1.1 enabled OK (python, jupyterlab_widgets)

Description of Issue

I'm joining two dataframes, person and track. They have key columns named trackingid and tracking_id.

In the default case, the merge operation will keep both key columns in the output, but naturally, they are duplicate column content. If I select "Drop some columns", and select the key column, Bamboolib will make sure the key is not removed, since it's required in the merge.

# Step: Inner Join with track where trackingid=tracking_id
person2 = pd.merge(person, track.drop(columns=[]), how='inner', left_on=['trackingid'], right_on=['tracking_id'])

This behavior is counter intuitive, and the Transformation should drop the columns after the join.

Reproduction Steps

  1. Join any two tables.
  2. Try to drop the key column.

What steps have you taken to resolve this already?

Anything else?

...

Jupyter Lab doesn't start

Hi,
I purchased the license and it works great on jupyter nbextension but it dies on jupyter labs. My jupyter lab won't start now. Any ideas?

--Joe

Trying to use the communition edition but bamboolib is prompting for a license

Environment

  • Operating System: Debian Buster
  • Python Version: $ python --version 3.8.12
  • How did you install bamboolib: (pip, conda, or other (please explain)) pip install bamboolib (as root in a docker image)
  • Python packages: $ pip list or $ conda list (please include bamboolib)
    bamboolib 1.29.1
  • If bamboolib is used with JupyterLab: JupyterLab extensions: jupyter labextension list
    JupyterLab v3.2.7
    /opt/conda/envs/quant/share/jupyter/labextensions
    @jupyter-widgets/jupyterlab-manager v3.0.1 enabled OK (python, jupyterlab_widgets)

Other labextensions (built into JupyterLab)
app dir: /opt/conda/envs/quant/share/jupyter/lab
bamboolib v1.29.0 enabled OK
ipyslickgrid v0.0.3 enabled OK
jupyterlab-plotly v4.14.3 enabled OK
plotlywidget v4.14.3 enabled OK

  • If bamboolib is used with Jupyter Notebook: Notebook extension: jupyter nbextension list

Description of Issue

  • What did you expect to happen?
    Click show bamboolib UI and see the UI
  • What happened instead?
    Prompt for pro license

Reproduction Steps

...

What steps have you taken to resolve this already?

...

Anything else?

...

Possible to use without Dockerfile?

When attempting to add bamboolib to an existing open project for use on mybinder using a requirements.txt file or pip statement within an environment.yml file, bamboolib asks for a license code.

Is it not possible to use without a Dockerfile (for open source/data projects)?

Followup - if it has to be in a Dockerfile, how can it be used from an image which is not based on a Jupyter pre-built stack?

Thanks,
Matt

How can I activate bamboolib inside my jupyer lab environment under a proper running venv?

Environment

  • Operating System: Microsoft Windows 10 Pro, 10.0.19044 Build 19044

  • Python Version: 3.10.11

  • How did you install bamboolib: Installed bamboolib with pip install bamboolib inside a virtual environment build with venv

  • Python packages: `Package Version


    aiofiles 22.1.0
    aiosqlite 0.18.0
    anyio 3.6.2
    appdirs 1.4.4
    argon2-cffi 21.3.0
    argon2-cffi-bindings 21.2.0
    arrow 1.2.3
    astor 0.8.1
    astroid 2.15.1
    asttokens 2.2.1
    attrs 22.2.0
    Babel 2.12.1
    backcall 0.2.0
    bamboolib 1.30.19
    beautifulsoup4 4.12.1
    bleach 6.0.0
    certifi 2022.12.7
    cffi 1.15.1
    charset-normalizer 3.1.0
    colorama 0.4.6
    comm 0.1.3
    contourpy 1.0.7
    cryptography 40.0.1
    cycler 0.11.0
    debugpy 1.6.6
    decorator 5.1.1
    defusedxml 0.7.1
    dill 0.3.6
    executing 1.2.0
    fastjsonschema 2.16.3
    fonttools 4.39.3
    fqdn 1.5.1
    htmlmin 0.1.12
    idna 3.4
    ImageHash 4.3.1
    ipykernel 6.22.0
    ipyslickgrid 0.0.3
    ipython 8.12.0
    ipython-genutils 0.2.0
    ipywidgets 7.7.5
    isoduration 20.11.0
    isort 5.12.0
    jedi 0.18.2
    Jinja2 3.1.2
    joblib 1.2.0
    json5 0.9.11
    jsonpointer 2.3
    jsonschema 4.17.3
    jupyter_client 8.1.0
    jupyter-contrib-core 0.4.2
    jupyter_core 5.3.0
    jupyter-events 0.6.3
    jupyter-nbextensions-configurator 0.6.1
    jupyter_server 2.5.0
    jupyter_server_fileid 0.8.0
    jupyter_server_terminals 0.4.4
    jupyter_server_ydoc 0.8.0
    jupyter-ydoc 0.2.3
    jupyterlab 3.6.3
    jupyterlab-pygments 0.2.2
    jupyterlab_server 2.22.0
    jupyterlab-widgets 1.1.4
    kiwisolver 1.4.4
    lazy-object-proxy 1.9.0
    MarkupSafe 2.1.2
    matplotlib 3.6.3
    matplotlib-inline 0.1.6
    mccabe 0.7.0
    mistune 2.0.5
    multimethod 1.9.1
    nbclassic 0.5.5
    nbclient 0.7.3
    nbconvert 7.3.0
    nbformat 5.8.0
    nest-asyncio 1.5.6
    networkx 3.0
    notebook 6.5.3
    notebook_shim 0.2.2
    numpy 1.23.5
    packaging 23.0
    pandas 1.5.3
    pandas-profiling 3.6.6
    pandasgui 0.2.14
    pandocfilters 1.5.0
    parso 0.8.3
    patsy 0.5.3
    phik 0.12.3
    pickleshare 0.7.5
    Pillow 9.5.0
    pip 23.0.1
    platformdirs 3.2.0
    plotly 5.14.0
    ppscore 1.3.0
    prometheus-client 0.16.0
    prompt-toolkit 3.0.38
    psutil 5.9.4
    pure-eval 0.2.2
    pyarrow 11.0.0
    pycparser 2.21
    pydantic 1.10.7
    Pygments 2.14.0
    pylint 2.17.1
    pynput 1.7.6
    pyparsing 3.0.9
    PyQt5 5.15.9
    PyQt5-Qt5 5.15.2
    PyQt5-sip 12.11.1
    PyQtWebEngine 5.15.6
    PyQtWebEngine-Qt5 5.15.2
    pyrsistent 0.19.3
    python-dateutil 2.8.2
    python-json-logger 2.0.7
    pytz 2023.3
    PyWavelets 1.4.1
    pywin32 306
    pywinpty 2.0.10
    PyYAML 6.0
    pyzmq 25.0.2
    qtstylish 0.1.5
    requests 2.28.2
    rfc3339-validator 0.1.4
    rfc3986-validator 0.1.1
    scikit-learn 1.2.2
    scipy 1.9.3
    seaborn 0.12.2
    Send2Trash 1.8.0
    setuptools 65.5.0
    six 1.16.0
    sniffio 1.3.0
    soupsieve 2.4
    stack-data 0.6.2
    statsmodels 0.13.5
    tangled-up-in-unicode 0.2.0
    tenacity 8.2.2
    terminado 0.17.1
    threadpoolctl 3.1.0
    tinycss2 1.2.1
    toml 0.10.2
    tomli 2.0.1
    tomlkit 0.11.7
    tornado 6.2
    tqdm 4.64.1
    traitlets 5.9.0
    typeguard 2.13.3
    typing_extensions 4.5.0
    uri-template 1.2.0
    urllib3 1.26.15
    visions 0.7.5
    wcwidth 0.2.6
    webcolors 1.13
    webencodings 0.5.1
    websocket-client 1.5.1
    widgetsnbextension 3.6.4
    wordcloud 1.8.2.2
    wrapt 1.15.0
    xlrd 2.0.1
    y-py 0.5.9
    ydata-profiling 4.1.2
    ypy-websocket 0.8.2`

  • If bamboolib is used with JupyterLab: JupyterLab extensions: jupyterlab-plotly v5.14.0 enabled ok jupyterlab_pygments v0.2.2 enabled ok (python, jupyterlab_pygments) @jupyter-widgets/jupyterlab-manager v3.1.4 enabled ok (python, jupyterlab_widgets)

  • If bamboolib is used with Jupyter Notebook: It's running as expected

Description of Issue

  • What did you expect to happen?
    Inside my venv with the installed version on bamboolib I want to be able to execute bamboolib inside jupyter lab.

  • What happened instead?
    Inside my venv with the installed version on bamboolib I'm getting this error:
    ´Error displaying widget: model not found`

What steps have you taken to resolve this already?

import bamboolib as bam
bam.test_setup()

Testing Jupyter extensions:
ipywidgets works

ipywidgets:

ipyslickgrid:
Python library version is 0.0.3

Error displaying widget: model not found

plotly:
Python library version is 5.14.0

bamboolib:
Python library version is 1.30.19
Needed version of Jupyter extension is 1.30.0

Error displaying widget: model not found

JupyterLab and Labextensions:

Anything else?

I'm looking forward to your hint to get bamboolib running inside jupyter lab.
Thx
...

GUI Does not show up

i am not sure how you guys getting GUI up, it is not showing in my jupyter notebook.

Bamboolib source

Hi! Just discovered this after reading the announcement about the acquisition by Databricks. Congrats :)

It is my understanding that this repository contains a README with some pointers and a few plugins, but not the actual source code of bamboolib. Is that correct?

Docker support might help

Environment

  • Operating System: macos
  • Python Version: 3.7.2
  • How did you install bamboolib: pip
  • Python packages:
Package                            Version     Location
---------------------------------- ----------- --------------------------------------------------------------------
absl-py                            0.7.0
alabaster                          0.7.12
altair                             3.2.0
anaconda-client                    1.7.2
anaconda-navigator                 1.9.2
anaconda-project                   0.8.2
analytics-python                   1.2.9
anvil-uplink                       0.3.22
anyconfig                          0.9.10
appdirs                            1.4.3
appnope                            0.1.0
appscript                          1.0.1
argh                               0.26.2
arrow                              0.15.5
asn1crypto                         0.24.0
aspy.yaml                          1.3.0
astor                              0.7.1
astroid                            2.3.3
astropy                            3.1.2
atomicwrites                       1.3.0
attrs                              18.2.0
aws-xray-sdk                       0.95
azure-common                       1.1.24
azure-storage-blob                 1.5.0
azure-storage-common               1.4.2
azure-storage-file                 1.4.0
azure-storage-queue                1.4.0
Babel                              2.6.0
backcall                           0.1.0
backports.os                       0.1.1
backports.shutil-get-terminal-size 1.0.0
bamboolib                          1.6.2
base58                             1.0.3
beautifulsoup4                     4.7.1
behave                             1.2.6
binaryornot                        0.4.4
biopython                          1.76
bitarray                           0.8.3
bkcharts                           0.2
black                              19.10b0
blaze                              0.11.3
bleach                             3.1.0
blinker                            1.4
bokeh                              1.0.4
boto                               2.49.0
boto3                              1.9.108
botocore                           1.12.108
Bottleneck                         1.2.1
bumpversion                        0.5.3
bz2file                            0.98
cachetools                         3.1.0
catboost                           0.18.1
certifi                            2018.10.15
cesium                             0.9.11
cffi                               1.12.1
cfgv                               2.0.1
chardet                            3.0.4
chart-studio                       1.0.0
Click                              7.0
click-completion                   0.5.0
click-log                          0.3.2
cloudpickle                        0.8.0
clyent                             1.2.2
colorama                           0.4.1
colorlover                         0.3.0
commonmark                         0.9.1
conda                              4.6.7
conda-build                        3.17.8
conda-verify                       3.1.1
configparser                       4.0.2
confuse                            1.0.0
contextlib2                        0.5.5
cookiecutter                       1.7.0
coverage                           4.5.3
croston                            0.1.2.2
cryptography                       2.8
cufflinks                          0.17.0
cycler                             0.10.0
cymem                              2.0.2
Cython                             0.29.5
cytoolz                            0.9.0.1
dask                               2.9.1
datashape                          0.5.4
datasketch                         1.4.10
decorator                          4.3.2
defusedxml                         0.5.0
deon                               0.1.4
dill                               0.2.9
distributed                        2.9.1
docker                             4.2.0
docker-pycreds                     0.4.0
docopt                             0.6.2
docutils                           0.14
ecdsa                              0.15
en-core-web-lg                     2.0.0
en-core-web-sm                     2.0.0
entrypoints                        0.3
enum-compat                        0.0.2
et-xmlfile                         1.0.1
fairseq                            0.9.0
fastcache                          1.0.2
filelock                           3.0.10
flake8                             3.7.8
Flask                              1.0.2
Flask-Cors                         3.0.7
fsspec                             0.6.2
ftfy                               4.4.3
funcsigs                           1.0.2
future                             0.17.1
futures                            3.1.1
fuzzywuzzy                         0.17.0
gast                               0.2.2
gatspy                             0.3
gcsfs                              0.6.0
gensim                             3.7.1
gevent                             1.4.0
gitdb2                             3.0.0
GitPython                          3.0.6
Glances                            3.1.3
glob2                              0.6
gmpy2                              2.0.8
google-api-core                    1.16.0
google-auth                        1.11.2
google-auth-oauthlib               0.4.1
google-cloud-bigquery              1.24.0
google-cloud-core                  1.3.0
google-pasta                       0.1.8
google-resumable-media             0.5.0
googleapis-common-protos           1.51.0
gql                                0.1.0
grakn-client                       1.6.0
graphql-core                       2.2.1
graphviz                           0.8.4
greenlet                           0.4.15
grimp                              1.2
grpcio                             1.27.2
gunicorn                           20.0.4
h2o                                3.28.0.2
h5py                               2.8.0
hdfs                               2.5.8
heapdict                           1.0.0
hmmlearn                           0.2.3
html5lib                           1.0.1
htmlmin                            0.1.12
icc-rt                             2019.0
identify                           1.4.10
idna                               2.7
ijson                              2.3
imageio                            2.5.0
imagesize                          1.1.0
iminuit                            1.3.8
import-linter                      1.0
importlib-metadata                 0.23
intel-openmp                       2019.0
ipykernel                          4.10.1
ipython                            7.12.0
ipython-genutils                   0.2.0
ipywidgets                         7.5.0
isort                              4.3.8
itsdangerous                       1.1.0
jdcal                              1.4
jedi                               0.13.3
Jinja2                             2.10
jinja2-time                        0.2.0
jmespath                           0.9.4
joblib                             0.12.3
jovian                             0.1.88
json5                              0.9.2
jsondiff                           1.1.1
jsonpickle                         1.3
jsonschema                         3.2.0
jupyter                            1.0.0
jupyter-client                     5.3.4
jupyter-console                    6.0.0
jupyter-core                       4.6.1
jupyterlab                         1.2.7
jupyterlab-launcher                0.13.1
jupyterlab-server                  1.0.7
kaggle                             1.5.6
kedro                              0.15.7      /Users/swami/git-repos/hands-on-workshops/kedro/kedro
kedro-viz                          3.2.0
Keras                              2.2.4
Keras-Applications                 1.0.8
Keras-Preprocessing                1.1.0
keyring                            18.0.0
kiwisolver                         1.0.1
lazy-object-proxy                  1.4.3
libarchive-c                       2.8
lief                               0.9.0
lightgbm                           2.3.1
line-profiler                      3.0.2
llvmlite                           0.31.0
locket                             0.2.0
lxml                               4.3.0
Markdown                           3.0.1
MarkupSafe                         1.1.1
matplotlib                         3.1.3
mccabe                             0.6.1
memory-profiler                    0.57.0
missingno                          0.4.2
mistune                            0.8.4
mkl-fft                            1.0.10
mkl-random                         1.0.2
mock                               2.0.0
modin                              0.7.0
more-itertools                     5.0.0
Morfessor                          2.0.4
moto                               1.3.7
mpmath                             1.1.0
msgpack                            0.5.6
msgpack-numpy                      0.4.3.2
multipledispatch                   0.6.0
multiprocess                       0.70.9
munch                              2.3.2
murmurhash                         1.0.2
mxnet                              1.5.1.post0
mypy                               0.761
mypy-extensions                    0.4.3
navigator-updater                  0.2.1
nbconvert                          5.4.1
nbdime                             1.0.5
nbformat                           4.4.0
nbsphinx                           0.4.2
nbstripout                         0.3.3
networkx                           2.4
nltk                               3.4
nodeenv                            1.3.4
nose                               1.3.7
notebook                           5.7.4
numba                              0.48.0
numerapi                           2.1.2
numexpr                            2.6.9
numpy                              1.18.1
numpydoc                           0.8.0
nvidia-ml-py3                      7.352.0
oauthlib                           3.1.0
odo                                0.5.1
olefile                            0.46
openpyxl                           2.6.0
opt-einsum                         3.2.0
packaging                          19.0
pandas                             0.25.3
pandas-gbq                         0.13.1
pandas-profiling                   2.4.0
pandocfilters                      1.4.2
parse                              1.11.1
parse-type                         0.4.2
parso                              0.5.2
partd                              1.1.0
path.py                            11.5.0
pathlib2                           2.3.3
pathos                             0.2.5
pathspec                           0.7.0
pathtools                          0.1.2
patsy                              0.5.1
pbr                                5.1.3
pep8                               1.7.1
perfplot                           0.7.2
pexpect                            4.6.0
phik                               0.9.8
pickleshare                        0.7.5
Pillow                             6.2.1
pip                                20.0.2
pip-tools                          4.5.0
pkginfo                            1.5.0.1
plac                               0.9.6
plotly                             4.4.1
pluggy                             0.13.0
ply                                3.11
portalocker                        1.5.2
pox                                0.2.7
poyo                               0.5.0
ppft                               1.6.6.1
pre-commit                         1.21.0
preshed                            2.0.1
prettytable                        0.7.2
prometheus-client                  0.6.0
promise                            2.2.1
prompt-toolkit                     2.0.10
protobuf                           3.11.3
psutil                             5.4.7
ptyprocess                         0.6.0
py                                 1.8.0
py-spy                             0.3.2
py4j                               0.10.7
pyaml                              19.12.0
pyarrow                            0.16.0
pyasn1                             0.4.8
pyasn1-modules                     0.2.8
pycld2                             0.31
pycodestyle                        2.5.0
pycosat                            0.6.3
pycparser                          2.19
pycrypto                           2.6.1
pycryptodome                       3.9.7
pycurl                             7.43.0.2
pydata-google-auth                 0.3.0
pydot                              1.4.1
pyemd                              0.5.1
pyflakes                           2.1.0
Pygments                           2.3.1
PyHamcrest                         1.8.5
pylint                             2.4.4
pyodbc                             4.0.24
pyOpenSSL                          19.0.0
pyparsing                          2.3.1
Pyphen                             0.9.5
pyre-check                         0.0.27
pyrsistent                         0.15.7
PySocks                            1.6.8
pyspark                            2.4.5
pytest                             3.10.1
pytest-arraydiff                   0.3
pytest-astropy                     0.5.0
pytest-cov                         2.8.1
pytest-doctestplus                 0.2.0
pytest-html                        2.0.1
pytest-metadata                    1.8.0
pytest-mock                        1.13.0
pytest-openfiles                   0.3.2
pytest-pylint                      0.14.1
pytest-remotedata                  0.3.1
pytest-runner                      5.1
pytextrank                         2.0.1
python-dateutil                    2.8.0
python-jose                        2.0.2
python-json-logger                 0.1.11
python-Levenshtein                 0.12.0
python-slugify                     3.0.6
pytictoc                           1.5.0
pytz                               2018.9
pywatchman                         1.4.1
PyWavelets                         1.1.1
PyYAML                             5.3
pyzmq                              17.1.2
qgrid                              1.3.0
QtAwesome                          0.5.6
qtconsole                          4.4.3
QtPy                               1.6.0
ray                                0.8.1
readme-renderer                    24.0
recommonmark                       0.5.0
redis                              3.3.8
regex                              2018.1.10
requests                           2.23.0
requests-mock                      1.7.0
requests-oauthlib                  1.3.0
requests-toolbelt                  0.9.1
responses                          0.10.11
retrying                           1.3.3
rfpimp                             1.3.4
rope                               0.12.0
rsa                                4.0
ruamel-yaml                        0.15.46
RunSnakeRun                        2.0.5
Rx                                 1.6.1
s3fs                               0.4.0
s3transfer                         0.2.0
sacrebleu                          1.4.3
scikit-image                       0.14.1
scikit-learn                       0.21.3
scikit-optimize                    0.5.2
scipy                              1.4.1
seaborn                            0.10.0
semver                             2.9.1
semversioner                       0.8.1
Send2Trash                         1.5.0
sentencepiece                      0.1.85
sentry-sdk                         0.13.5
setuptools                         45.2.0
shellingham                        1.3.1
shortuuid                          0.5.0
simplegeneric                      0.8.1
singledispatch                     3.4.0.3
six                                1.11.0
sklearn                            0.0
sklearn-pandas                     1.8.0
smart-open                         1.8.0
smmap2                             2.0.5
snakeviz                           2.0.1
snowballstemmer                    1.2.1
sortedcollections                  1.1.2
sortedcontainers                   2.1.0
soupsieve                          1.7.1
spacy                              2.0.18
Sphinx                             1.8.5
sphinx-autodoc-typehints           1.6.0
sphinx-copybutton                  0.2.5
sphinx-rtd-theme                   0.4.3
sphinxcontrib-applehelp            1.0.1
sphinxcontrib-devhelp              1.0.1
sphinxcontrib-htmlhelp             1.0.2
sphinxcontrib-jsmath               1.0.1
sphinxcontrib-qthelp               1.0.2
sphinxcontrib-serializinghtml      1.1.3
sphinxcontrib-websupport           1.1.0
spyder                             3.3.3
spyder-kernels                     0.4.2
SQLAlchemy                         1.2.18
SquareMap                          1.0.5
statistics                         1.0.3.5
statsmodels                        0.11.1
stomp.py                           4.1.5
streamlit                          0.51.0
subprocess32                       3.5.4
swifter                            0.301
sympy                              1.3
tables                             3.4.4
tabulate                           0.8.6
tblib                              1.3.2
tdl-client-python                  0.26.1
tensorboard                        2.1.0
tensorboardX                       2.0
tensorflow                         2.1.0
tensorflow-estimator               2.1.0
termcolor                          1.1.0
terminado                          0.8.1
termtables                         0.1.1
testpath                           0.4.2
text-unidecode                     1.3
textacy                            0.6.2
thinc                              6.12.1
tk                                 0.1.0
toml                               0.10.0
toolz                              0.9.0
toposort                           1.5
torch                              1.3.1
torchtext                          0.5.0
torchvision                        0.4.2
tornado                            5.1.1
tox                                3.13.2
tqdm                               4.43.0
traitlets                          4.3.2
truffleHog                         2.1.11
truffleHogRegexes                  0.0.7
twine                              1.13.0
typed-ast                          1.4.1
typing                             3.6.4
typing-extensions                  3.7.4.1
tzlocal                            2.0.0
ujson                              1.35
unicodecsv                         0.14.1
Unidecode                          1.0.23
urllib3                            1.24.2
uuid                               1.30
validators                         0.14.0
valohai-cli                        0.11.0
valohai-yaml                       0.9
virtualenv                         16.7.5
wandb                              0.8.19
watchdog                           0.9.0
wcwidth                            0.1.7
webencodings                       0.5.1
websocket-client                   0.57.0
Werkzeug                           0.14.1
wget                               3.2
wheel                              0.32.2
whichcraft                         0.6.1
widgetsnbextension                 3.5.1
wrapt                              1.12.1
ws4py                              0.3.4
wurlitzer                          1.0.2
wxPython                           4.0.7.post2
xerox                              0.4.1
xgboost                            0.90
xlrd                               1.2.0
XlsxWriter                         1.1.5
xlwings                            0.15.3
xlwt                               1.3.0
xmltodict                          0.12.0
xxhash                             1.3.0
zict                               0.1.3
zipp                               0.6.0
  • If bamboolib is used with JupyterLab: JupyterLab extensions: jupyter labextension list
JupyterLab v1.2.7
Known labextensions:
   app dir: /Users/swami/.local/share/jupyter/lab
        @8080labs/qgrid v1.1.1  enabled  OK
        @jupyter-widgets/jupyterlab-manager v1.1.0  enabled  OK
        bamboolib v1.6.0  enabled  OK
        jupyterlab-chart-editor v1.3.0  enabled  OK
        jupyterlab-plotly v1.5.4  enabled  OK
        nbdime-jupyterlab v0.6.0  enabled   X
        plotlywidget v1.5.4  enabled  OK

   The following extension are outdated:
        nbdime-jupyterlab

   Consider running "jupyter labextension update --all" to check for updates.


Build recommended, please run `jupyter lab build`:
    bamboolib needs to be included in build
    plotlywidget needs to be included in build
    @8080labs/qgrid needs to be included in build
    @jupyter-widgets/jupyterlab-manager needs to be included in build
    jupyterlab-plotly changed from file:../extensions/jupyterlab-plotly-1.5.2.tgz to file:../extensions/jupyterlab-plotly-1.5.4.tgz
  • If bamboolib is used with Jupyter Notebook: Notebook extension: jupyter nbextension list

Description of Issue

I was installing bamboolib on my macOS and expected the installation to go smooth but it seems some other package might be conflicting after performing the last steps at installation steps - I got this error message:

[LabBuildApp] JupyterLab 1.2.7
[LabBuildApp] Building in /Users/swami/.local/share/jupyter/lab
[LabBuildApp] Building jupyterlab assets (build:prod)
[LabBuildApp] WARNING | The extension "nbdime-jupyterlab" is outdated.

An error occured.
RuntimeError: JupyterLab failed to build
See the log file for details:  /var/folders/lv/qn495mln6h79dkh4b6j3rclm0000gn/T/jupyterlab-debug-1u0e_k9s.log

Looking into the logs shows me:

...
[LabBuildApp] > node /Users/swami/.local/lib/python3.7/site-packages/jupyterlab/staging/yarn.js run build:prod
[LabBuildApp] yarn run v1.15.2
$ ensure-max-old-space webpack --config webpack.prod.config.js
ModuleNotFoundError: Module not found: Error: Can't resolve 'es6-promise/auto' in ...
...

As per the gitter discussions, it appears a version of plotly lab extension conflicts when trying to build the lab extensions, more details in the section below.

Reproduction Steps

This one might be hard to reproduce as it's user specific, but hopefully, the attached log file might prove it:

jupyterlab-debug-1u0e_k9s.log

Also this message on the gitter channel of jupyterlabs: https://gitter.im/jupyterlab/jupyterlab?at=5e4711fa46e99d431f78c53d (search for the messages around ModuleNotFoundError: Module not found: Error: Can't resolve 'es6-promise/auto' in '/opt/conda/share/jupyter/lab/staging/build

What steps have you taken to resolve this already?

Building a docker image installed with bamboo and other notebooks extensions (as per the instructions) and run jupyter lab using this container.

Anything else?

Happy to contribute the script(s) to the repo if there is interest

Bamboolib UI Not loading for colab

Environment

vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) CPU @ 2.00GHz
stepping : 3
microcode : 0x1
cpu MHz : 2000.164
cache size : 39424 KB
Python 3.0

Description of Issue

Bamboolib UI not loading

Reproduction Steps

import pandas as pd
! pip install bamboolib
! pip install -U ipykernel
import bamboolib as bam
bam.enable()
df = pd.read_csv(".../file_path/...")
df

What steps have you taken to resolve this already?

Not loading in Colab as of now

Anything else?

Contextual Version Conflict: seaborn

Environment

  • Operating System: Windows 10
  • Python Version: $ python --version
  • 3.7.10
  • How did you install bamboolib: (pip, conda, or other (please explain))
  • Installed via pip in jupyter notebook
  • Python packages: $ pip list or $ conda list (please include bamboolib)
  • pip list
    Package Version

anaconda-client 1.8.0
analytics-python 1.2.9
ansiwrap 0.8.4
anyjson 0.3.3
appdirs 1.4.4
arcgis 1.8.5
argon2-cffi 20.1.0
asn1crypto 1.4.0
async-generator 1.10
atomicwrites 1.4.0
attrs 21.2.0
azure-core 1.12.0
azure-storage-blob 12.8.0
backcall 0.2.0
bamboolib 1.26.0
beautifulsoup4 4.9.3
black 19.10b0
bleach 3.3.0
blinker 1.4
bokeh 2.3.3
Bottleneck 1.3.2
brotlipy 0.7.0
cached-property 1.5.2
certifi 2021.5.30
cffi 1.14.6
cftime 1.0.0b1
chardet 4.0.0
click 8.0.1
cloudpickle 1.6.0
clyent 1.2.2
colorama 0.4.4
conda-content-trust 0+unknown
conda-package-handling 1.7.3
conda-repo-cli 1.0.4
cryptography 2.8
cycler 0.10.0
cytoolz 0.11.0
dask 2021.7.0
decorator 5.0.9
defusedxml 0.7.1
despatch 0.1.0
distributed 2021.7.0
entrypoints 0.3
et-xmlfile 1.0.1
fastcache 1.1.0
flake8 3.9.0
fsspec 2021.6.0
future 0.18.2
greenlet 1.1.0
h5py 2.10.0
HeapDict 1.0.1
html5lib 1.1
htmlmin 0.1.12
idna 2.10
ijson 3.1.4
ImageHash 4.2.0
importlib-metadata 3.10.0
iniconfig 1.1.1
ipykernel 5.5.5
ipyslickgrid 0.0.3
ipython 7.23.1
ipython-genutils 0.2.0
ipywidgets 7.6.3
isodate 0.6.0
jdcal 1.4.1
jedi 0.18.0
Jinja2 3.0.1
joblib 1.0.1
json5 0.9.4
jsonschema 3.2.0
jupyter 1.0.0
jupyter-client 6.2.0
jupyter-console 6.2.0
jupyter-contrib-core 0.3.3
jupyter-contrib-nbextensions 0.5.1
jupyter-core 4.7.1
jupyter-highlight-selected-word 0.2.0
jupyter-latex-envs 1.4.4
jupyter-nbextensions-configurator 0.4.1
jupyterlab 2.2.7
jupyterlab-pygments 0.1.1
jupyterlab-server 1.2.0
jupyterlab-widgets 1.0.0
keyring 21.4.0
kiwisolver 1.3.1
lerc 2.2
locket 0.2.1
lxml 4.6.3
MarkupSafe 2.0.1
matplotlib 3.3.1
matplotlib-inline 0.1.2
mccabe 0.6.1
menuinst 1.4.16
missingno 0.5.0
mistune 0.8.4
mkl-fft 1.3.0
mkl-random 1.2.0
mkl-service 2.3.0
mpmath 1.2.1
msgpack 1.0.2
msrest 0.6.21
multimethod 1.4
mypy-extensions 0.4.3
navigator-updater 0.2.1
nb-conda 2.2.1
nb-conda-kernels 2.3.1
nbclient 0.5.0
nbconvert 5.6.1
nbformat 5.1.3
nest-asyncio 1.5.1
netCDF4 1.5.4
networkx 2.5
nltk 3.6.2
nose 1.3.7
notebook 5.7.10
ntlm-auth 1.4.0
numexpr 2.7.3
numpy 1.20.1
oauthlib 3.1.0
olefile 0.46
openpyxl 3.0.7
packaging 21.0
pandas 1.2.4
pandas-profiling 3.0.0
pandas-ui 0.1
pandasql 0.7.3
pandocfilters 1.4.3
papermill 2.3.3
parso 0.8.2
partd 1.2.0
pathspec 0.7.0
pdfminer.six 20200517
pdfplumber 0.5.28
pefile 2019.4.18
phik 0.11.2
pickleshare 0.7.5
Pillow 8.3.1
pip 21.1.3
plotly 4.14.3
pluggy 0.13.1
ppscore 1.2.0
pro-notebook-integration 2.5
prometheus-client 0.8.0
prompt-toolkit 3.0.18
psutil 5.8.0
py 1.10.0
pycodestyle 2.6.0
pycosat 0.6.3
pycparser 2.20
pycryptodome 3.10.1
pydantic 1.8.2
pyflakes 2.2.0
Pygments 2.9.0
PyJWT 2.0.1
pymssql 2.1.5
pyodbc 4.0.0-unsupported
pyOpenSSL 20.0.1
pyparsing 2.4.7
pypiwin32 223
pyrsistent 0.17.3
pyshp 2.1.3
PySocks 1.7.1
pytest 0.0.0
python-certifi-win32 0.0.0
python-dateutil 2.8.1
pytz 2020.1
PyWavelets 1.1.1
pywin32 301
pywin32-ctypes 0.2.0
pywinpty 0.5.7
PyYAML 5.4.1
pyzmq 22.0.3
qgrid 1.3.1
qtconsole 5.1.0
QtPy 1.9.0
regex 2021.7.6
requests 2.25.1
requests-kerberos 0.12.0
requests-negotiate-sspi 0.0.0
requests-ntlm 1.1.0
requests-oauthlib 1.3.0
requests-toolbelt 0.9.1
retrying 1.3.3
ruamel-yaml-conda 0.15.100
saspy 3.6.1
scikit-learn 0.24.2
scipy 1.6.2
seaborn 0.10.1
Send2Trash 1.5.0
setuptools 52.0.0.post20210125
simplegeneric 0.8.1
simplejson 3.17.2
six 1.16.0
sortedcontainers 2.4.0
soupsieve 2.2.1
SQLAlchemy 1.4.19
swat 1.8.1
sympy 1.5.1
tangled-up-in-unicode 0.1.0
tblib 1.7.0
tenacity 8.0.1
termcolor 1.1.0
terminado 0.9.4
testpath 0.5.0
textwrap3 0.9.2
threadpoolctl 2.2.0
toml 0.10.2
toolz 0.11.1
tornado 6.1
tqdm 4.61.2
traitlets 5.0.5
typed-ast 1.4.2
typing-extensions 3.10.0.0
ujson 4.0.2
urllib3 1.26.6
visions 0.7.1
Wand 0.6.6
wcwidth 0.2.5
webencodings 0.5.1
wheel 0.36.2
widgetsnbextension 3.5.1
win-inet-pton 1.1.0
wincertstore 0.2
winkerberos 0.7.0
wrapt 1.12.1
x86cpu 0.4
xarray 0.17.0
xlrd 1.2.0
xlwt 1.3.0
xmltodict 0.12.0
zict 2.0.0
zipp 3.5.0

  • If bamboolib is used with JupyterLab: JupyterLab extensions: jupyter labextension list
  • If bamboolib is used with Jupyter Notebook: Notebook extension: jupyter nbextension list

Description of Issue

  • What did you expect to happen?
  • import bamboolib as bam
  • What happened instead?

1

import bamboolib as bam


ContextualVersionConflict Traceback (most recent call last)
in
----> 1 import bamboolib as bam

~\Miniconda3\envs\eb_arcpro_clone\lib\site-packages\bamboolib_init_.py in
8
9 try:
---> 10 version = get_distribution(name).version
11 except DistributionNotFound:
12 version = "unknown"

~\Miniconda3\envs\eb_arcpro_clone\lib\site-packages\pkg_resources_init_.py in get_distribution(dist)
464 dist = Requirement.parse(dist)
465 if isinstance(dist, Requirement):
--> 466 dist = get_provider(dist)
467 if not isinstance(dist, Distribution):
468 raise TypeError("Expected string, Requirement, or Distribution", dist)

~\Miniconda3\envs\eb_arcpro_clone\lib\site-packages\pkg_resources_init_.py in get_provider(moduleOrReq)
340 """Return an IResourceProvider for the named module or requirement"""
341 if isinstance(moduleOrReq, Requirement):
--> 342 return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
343 try:
344 module = sys.modules[moduleOrReq]

~\Miniconda3\envs\eb_arcpro_clone\lib\site-packages\pkg_resources_init_.py in require(self, *requirements)
884 included, even if they were already activated in this working set.
885 """
--> 886 needed = self.resolve(parse_requirements(requirements))
887
888 for dist in needed:

~\Miniconda3\envs\eb_arcpro_clone\lib\site-packages\pkg_resources_init_.py in resolve(self, requirements, env, installer, replace_conflicting, extras)
775 # Oops, the "best" so far conflicts with a dependency
776 dependent_req = required_by[req]
--> 777 raise VersionConflict(dist, req).with_context(dependent_req)
778
779 # push the new requirements onto the stack

ContextualVersionConflict: (seaborn 0.11.1 (c:\users\ebarr\miniconda3\envs\eb_arcpro_clone\lib\site-packages), Requirement.parse('seaborn<0.11,>=0.10'), {'bamboolib'})

Can't get bamboolib to show up...

I installed everything from scratch and according to documentation. When running bam.test_setup() all test come back ok, except for the following part:

bamboolib:
Python library version is 1.26.0
Needed version of Jupyter extension is 1.26.0
Error displaying widget: model not found

JupyterLab and Labextensions:
JupyterLab v3.1.18
Other labextensions (built into JupyterLab)
   app dir: C:\ProgramData\Anaconda3\share\jupyter\lab
        @8080labs/qgrid v1.1.1 enabled ok
        @jupyter-widgets/jupyterlab-manager v3.0.1 enabled ok
        @jupyterlab/git v0.30.1 enabled ok
        bamboolib v1.26.0 enabled ok
        ipyslickgrid v0.0.3 enabled ok
        js v0.1.0 enabled ok
        jupyter-leaflet v0.14.0 enabled ok
        jupyter-matplotlib v0.10.0 enabled ok
        jupyterlab-plotly v4.14.3 enabled ok
        jupyterlab_iframe v0.4.0 enabled ok
        nbdime-jupyterlab v2.1.0 enabled ok
        plotlywidget v4.14.3 enabled ok


Uninstalled core extensions:
    bamboolib

Any advice is highly appreciated. Also, I'd like to use the community version for now.

Minor CSS Bugs for Bamboolib with Voila

Background

I was experimenting with bamboolib and voila and found two very minor aesthetic issues

My use case with voila is to potentially provide a way for users who aren't comfortable with Jupyter to take advantage of bamboolib for EDA and code generation

Environment

Fresh environment on Docker or Mac:

python -m pip install jupyterlab bamboolib voila
python -m bamboolib install_nbextensions

# Create a demo.ipynb file with any dataframe

# import bamboolib as bam
# import pandas as pd
# df = pd.read_csv(bam.titanic_csv)
# df

# Run voila
voila demo.ipynb

Description of Issue

I checked Jupyter lab for the same python venv and neither issue was present within the editor, only in voila

  • There is some additional internal spacing for the .highlight span
  • The data table is excessively wide, but doesn't seem to cause any usability issues

Screen Shot 2021-06-12 at 18 48 56

Screen Shot 2021-06-12 at 17 12 29

After installation of bamboolib , viewing output data in scrolling windows failed in jupyterlab

Environment

  • Operating System: windows 10 or Ubuntu 2004
  • Python Version: 3.6.8
  • How did you install bamboolib: pip ,fully fresh installation in a new venv , just did as the https://pypi.org/project/bamboolib/.
    the jupyterlab==2.3.1 and notbook==6.3
  • Python packages:
  • If bamboolib is used with JupyterLab: JupyterLab extensions: jupyter labextension list
  • If bamboolib is used with Jupyter Notebook: Notebook extension: jupyter nbextension list

Description of Issue

After installed bamboolib , viewing data in scrolling windows faild. In jupyterlab ,menu item of Enable Scrolling for Outputs does not work.

image

  • What did you expect to happen?
  • Just expect to be able to view data in scrolling windws successfully for other cells' output.
  • What happened instead?
    The scrolling action was failed as mentioned above

Reproduction Steps

1 After executed the code from https://docs.bamboolib.8080labs.com/documentation/how-tos/installation-and-setup/install-bamboolib/test-bamboolib , the result was as following picture

image
2 Then opened a new notebook and wrote some code as following picture
image
the code was simple,and the output was a little long
3 I wanted view the output data in a scrolling windows, so just had a right-clicking on the output, and choose the menu item of Enable Scrolling for Outputs , but it failed, just as the following picture

image
4 I repeated this on Ubuntu 2004 and conda envs with other conditions keeping the same ,the Scrolling action was failed,too.
I had tried to switch jupyterlab to 2.2.9 and notebook to 6.1.5 and python to 3.8.8, but still could not view output data in scrolling window.
When I uninstalled bamboolib, the scrolling window mode was really enabled as following picture
image
5 Some more,I tried reinstalled bamboolib as step 1,but failed, In output window,it just kept showing the text of bamboolib is loading ...

What steps have you taken to resolve this already?

...Not yet

Anything else?

... Is this bug or something else I have not got?

bamboolib continued development

Hi,
seems bamboolib hasnt seen development since python 3.8. Any plans to continue development to the latest python versions like 3.11 etc ?
From a bamboolib fan.

KeyError: 'The Python module bamboolib is not a valid nbextension, it is missing the `_jupyter_nbextension_paths()` method.

After successfully seting up qgrid and widgetsnbextension extensions
jupyter nbextension enable --py qgrid --sys-prefix
jupyter nbextension enable --py widgetsnbextension --sys-prefix

I get this error when trying
jupyter nbextension install --py bamboolib --sys-prefix

KeyError: 'The Python module bamboolib is not a valid nbextension, it is missing the `_jupyter_nbextension_paths()` method.

[Troubleshooting] ModuleNotFound [...jupyter/...] when trying to build Jupterlab

Environment

  • Operating System: macos
  • Python Version: 3.7.2
  • How did you install bamboolib: pip
  • Python packages: see issue #13
  • If bamboolib is used with JupyterLab: JupyterLab extensions: jupyter labextension list
    see issue #13
  • If bamboolib is used with Jupyter Notebook: Notebook extension: jupyter nbextension list
    see issue #13

Description of Issue

The details are mentioned in issue see issue #13, although repeating the specific problem see this message on the Jupyter Lab Gitter Channel: https://gitter.im/jupyterlab/jupyterlab?at=5e4711fa46e99d431f78c53d

I was installing bamboolib on my macOS and expected the installation to go smooth but it seems some other package might be conflicting after performing the last steps at installation steps - I got this error message:

[LabBuildApp] JupyterLab 1.2.7
[LabBuildApp] Building in /Users/swami/.local/share/jupyter/lab
[LabBuildApp] Building jupyterlab assets (build:prod)
[LabBuildApp] WARNING | The extension "nbdime-jupyterlab" is outdated.

An error occured.
RuntimeError: JupyterLab failed to build
See the log file for details:  /var/folders/lv/qn495mln6h79dkh4b6j3rclm0000gn/T/jupyterlab-debug-1u0e_k9s.log

Looking into the logs shows me:

...
[LabBuildApp] > node /Users/swami/.local/lib/python3.7/site-packages/jupyterlab/staging/yarn.js run build:prod
[LabBuildApp] yarn run v1.15.2
$ ensure-max-old-space webpack --config webpack.prod.config.js
ModuleNotFoundError: Module not found: Error: Can't resolve 'es6-promise/auto' in ...
...

As per the gitter discussions, it appears a version of plotly lab extension conflicts when trying to build the lab extensions, more details in the section below.

Reproduction Steps

This one might be hard to reproduce as it's user specific, but hopefully, the attached log file might prove it:

jupyterlab-debug-1u0e_k9s.log

Also this message on the gitter channel of jupyterlabs: https://gitter.im/jupyterlab/jupyterlab?at=5e4711fa46e99d431f78c53d (search for the messages around ModuleNotFoundError: Module not found: Error: Can't resolve 'es6-promise/auto' in '/opt/conda/share/jupyter/lab/staging/build

What steps have you taken to resolve this already?

I did the following and the error went away, and I was able to rebuild the jupyterlab extensions:

cd /path/to/.local/share/jupyter/lab/staging/
npm install jupyterlab-plotly
npm install jupyterlab-chart-editor
npm install bamboolib
npm install nbdime-jupyterlab
npm install @8080labs/[email protected]
npm install qgrid
npm install plotlywidget
npm install @8080labs/qgrid
npm install @jupyter-widgets/jupyterlab-manager
npm install @jupyterlab/coreutils
npm install @jupyterlab/application
npm install es6-promise@^3.0.2 es6-promise@~4.2.6
npm install
jupyter lab build --minimize=False

Python 3.9

Environment

  • Operating System: Windows
  • Python Version: 3.9.2
  • How did you install bamboolib: pip

Description of Issue

ERROR: Could not find a version that satisfies the requirement bamboolib
ERROR: No matching distribution found for bamboolib

Reproduction Steps

  1. pip install bamboolib

Please upgrade bamboolib to support Python >= 3.9. Thanks

Bamboolib stop working - Just says is loading

*Installed with pip

*bamboolib/extension enabled
- Validating: OK

Description of Issue

Bamboolib stop working. I tried to install everything again but the problem remains.

Captura de ecrã 2020-05-12, às 17 49 35

Thanks

Dark theme support in lab?

Hi there,

Is there any appetite to adjust lab and I assume notebook to support their dark themes?

While in dark theme screens such as the value_counts drill-down shows white text on a white background.

Upgrade Plotly Version

Description of Issue

Bamboolib 1.26.0 depends on plotly<5.0.0 and >=4.9.0 and we would like to upgrade to the current version of plotly 5.3.1

Feature idea - bamboolib cell type

It's an anti-pattern making transformations in an output cell and overriding the df rendering.

Could you make the bamboolib UI a cell type, similar to a markdown or code cell?

Flow:

  • User would create a new cell.
  • Change it to be a bamboolib cell type.
  • Specify the name of their df.
  • Make transformations.
  • See the head() in an output cell.

Values not plotted in right order for large dataframes

Environment

  • Operating System: Linux (databricks runtime 11.3 ML)
  • Python Version: 3.9.5
  • How did you install bamboolib: pip
  • Python packages: See Databricks runtime link

Description of Issue

  • What did you expect to happen?
    To see a timeseries line graph of my data
  • What happened instead?
    Lines of the graph go everywhere, since the plotted data is not properly sorted by timestamp

Reproduction Steps

  1. Find a large dataset
  2. Make a plot with timestamp column vs. a variable of interest
  3. Graph shows up mangled.

The generated code looks as follows:

import plotly.express as px
fig = px.line(power_data.sort_values(by=['utc_timestamp'], ascending=[True]).sample(n=10000, replace=False, random_state=123).sort_index(), x='utc_timestamp', y='value', color='id')
fig

Note here that .sort_values(by=['utc_timestamp'], ascending=[True]) is placed before .sample(n=10000, replace=False, random_state=123). There is a .sort_index(), but the time column is not the index of my pandas dataframe. I think placing the sort_values after the random sample might resolve this issue

What steps have you taken to resolve this already?

See the above!

Anything else?

Error trying to use bamboolib in conda environment

Environment

  • Operating System: Windows 10 1909
  • Python Version: Python 3.7.6
  • How did you install bamboolib: conda env (as pip dependency)
  • Python packages:
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: win-64
altair=4.0.1=py_0
analytics-python=1.2.9=pypi_0
appdirs=1.4.3=py_1
atomicwrites=1.3.0=py_0
attrs=19.3.0=py_0
autograd=1.3=py_0
autograd-gamma=0.4.1=py_0
backcall=0.1.0=py_0
bamboolib=1.3.0=pypi_0
black=19.10b0=py37_0
blas=1.0=mkl
bleach=3.1.0=py_0
ca-certificates=2019.11.28=hecc5488_0
certifi=2019.11.28=py37_0
cffi=1.13.2=pypi_0
chardet=3.0.4=pypi_0
click=7.0=py_0
colorama=0.4.3=py_0
cryptography=2.8=pypi_0
cycler=0.10.0=py_2
decorator=4.4.1=py_0
defusedxml=0.6.0=py_0
entrypoints=0.3=py37_1000
flake8=3.7.9=py37_0
flake8-bugbear=20.1.4=py_0
freetype=2.10.0=h563cfd7_1
future=0.18.2=py37_0
icc_rt=2019.0.0=h0cc432a_1
icu=64.2=he025d50_1
idna=2.8=pypi_0
importlib_metadata=1.5.0=py37_0
inflect=4.0.0=py37_1
intel-openmp=2019.4=245
ipykernel=5.1.4=py37h5ca1d4c_0
ipython=7.12.0=py37h5ca1d4c_0
ipython_genutils=0.2.0=py_1
ipywidgets=7.5.1=pypi_0
jaraco.itertools=5.0.0=py_0
jedi=0.16.0=py37_0
jinja2=2.11.1=py_0
joblib=0.14.1=py_0
jpeg=9c=hfa6e2cd_1001
json5=0.9.0=py_0
jsonschema=3.2.0=py37_0
jupyter_client=5.3.4=py37_1
jupyter_contrib_core=0.3.3=py_2
jupyter_contrib_nbextensions=0.5.1=py37_0
jupyter_core=4.6.1=py37_0
jupyter_highlight_selected_word=0.2.0=py37_1000
jupyter_latex_envs=1.4.4=py37_1000
jupyter_nbextensions_configurator=0.4.1=py37_0
jupyterlab=1.2.6=py_0
jupyterlab_server=1.0.6=py_0
jupytext=1.3.3=0
kiwisolver=1.1.0=py37he980bc4_0
libblas=3.8.0=14_mkl
libcblas=3.8.0=14_mkl
libclang=9.0.1=default_hf44288c_0
libiconv=1.15=hfa6e2cd_1005
liblapack=3.8.0=14_mkl
libpng=1.6.37=h7602738_0
libsodium=1.0.17=h2fa13f4_0
libxml2=2.9.10=h9ce36c8_0
libxslt=1.1.33=heafd4d3_0
lifelines=0.23.8=py_0
lxml=4.5.0=py37heafd4d3_0
m2w64-gcc-libgfortran=5.3.0=6
m2w64-gcc-libs=5.3.0=7
m2w64-gcc-libs-core=5.3.0=7
m2w64-gmp=6.1.0=2
m2w64-libwinpthread-git=5.0.0.4634.697f757=2
markupsafe=1.1.1=py37hfa6e2cd_0
matplotlib=3.1.3=py37_0
matplotlib-base=3.1.3=py37h2981e6d_0
mccabe=0.6.1=py_1
mistune=0.8.4=py37hfa6e2cd_1000
mkl=2019.4=245
mkl-service=2.3.0=py37hfa6e2cd_0
more-itertools=8.2.0=py_0
msys2-conda-epoch=20160418=1
mypy_extensions=0.4.3=py37_0
nbconvert=5.6.1=py37_0
nbformat=5.0.4=py_0
nodejs=13.7.0=0
notebook=6.0.3=py37_0
numpy=1.17.5=py37hc71023c_0
openssl=1.1.1d=hfa6e2cd_0
packaging=20.1=py_0
pandas=1.0.0=py37he350917_0
pandoc=2.9.1.1=0
pandocfilters=1.4.2=py_1
parso=0.6.0=py_0
pathspec=0.7.0=py_0
patsy=0.5.1=py_0
pickleshare=0.7.5=py37_1000
pip=20.0.2=py37_1
plotly=4.5.0=pypi_0
pluggy=0.13.0=py37_0
prometheus_client=0.7.1=py_0
prompt_toolkit=3.0.3=py_0
py=1.8.1=py_0
pycodestyle=2.5.0=py_0
pycparser=2.19=pypi_0
pyflakes=2.1.1=py_0
pyforest=1.0.2=pypi_0
pygments=2.5.2=py_0
pyparsing=2.4.6=py_0
pyqt=5.12.3=py37h6538335_1
pyqt5-sip=4.19.18=pypi_0
pyqtwebengine=5.12.1=pypi_0
pyrsistent=0.15.6=py37hfa6e2cd_0
pytest=5.3.5=py37_0
python=3.7.6=h5b45d93_2
python-dateutil=2.8.1=py_0
pytz=2019.3=py_0
pywin32=225=py37hfa6e2cd_0
pywinpty=0.5.7=py37_0
pyyaml=5.3=py37hfa6e2cd_0
pyzmq=18.1.1=py37h16f9016_0
qgrid=1.2.0=pypi_0
qt=5.12.5=h7ef1ec2_0
regex=2020.1.8=py37hfa6e2cd_0
requests=2.22.0=pypi_0
retrying=1.3.3=pypi_0
scikit-learn=0.22.1=py37h7208079_1
scipy=1.3.1=py37h29ff71c_0
seaborn=0.10.0=py_0
send2trash=1.5.0=py_0
setuptools=45.1.0=py37_0
six=1.14.0=py37_0
sqlite=3.30.1=hfa6e2cd_0
statsmodels=0.11.0=py37hfa6e2cd_0
terminado=0.8.3=py37_0
testpath=0.4.4=py_0
toml=0.10.0=py_0
toolz=0.10.0=py_0
tornado=6.0.3=py37hfa6e2cd_0
traitlets=4.3.3=py37_0
typed-ast=1.4.1=py37hfa6e2cd_0
typing_extensions=3.7.4.1=py37_0
urllib3=1.25.8=pypi_0
vc=14.1=h0510ff6_4
vega_datasets=0.8.0=py_0
vs2015_runtime=14.16.27012=hf0eaf9b_1
wcwidth=0.1.8=py_0
webencodings=0.5.1=py_1
wheel=0.34.2=py37_0
widgetsnbextension=3.5.1=pypi_0
wincertstore=0.2=py37_1003
winpty=0.4.3=4
yaml=0.2.2=hfa6e2cd_1
zeromq=4.3.2=h6538335_2
zipp=2.1.0=py_0
zlib=1.2.11=h2fa13f4_1006
  • If bamboolib is used with JupyterLab: JupyterLab extensions:
JupyterLab v1.2.6
Known labextensions:
   app dir: C:\Users\z3391967\.conda\envs\testes\share\jupyter\lab
        @8080labs/qgrid v1.1.1 enabled  ok
        @jupyter-widgets/jupyterlab-manager v1.1.0 enabled  ok
        bamboolib v1.3.0 enabled  ok
        jupyterlab-jupytext v1.1.1 enabled  ok
        jupyterlab-plotly v1.5.0 enabled  ok
        plotlywidget v1.5.0 enabled  ok
        pyforest v0.0.1 enabled  ok*

   local extensions:
        pyforest: C:\Users\z3391967\.conda\envs\testes\lib\site-packages\pyforest
  • If bamboolib is used with Jupyter Notebook: Notebook extension:
Known nbextensions:
  config dir: C:\Users\z3391967\.jupyter\nbconfig
    notebook section
      pyforest/nbextension enabled
      - Validating: ok
  config dir: C:\Users\z3391967\.conda\envs\testes\etc\jupyter\nbconfig
    notebook section
      bamboolib/extension enabled
      - Validating: ok
      jupytext/index enabled
      - Validating: ok
      plotlywidget/extension enabled
      - Validating: ok
      jupyter-js-widgets/extension enabled
      - Validating: ok
      nbextensions_configurator/config_menu/main enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/config_menu/main
      contrib_nbextensions_help_item/main enabled
      - Validating: ok
      qgrid/extension enabled
      - Validating: ok
    tree section
      nbextensions_configurator/tree_tab/main enabled
      - Validating: problems found:
        - require?  X nbextensions_configurator/tree_tab/main

Description of Issue

Attempting to load bamboolib ui for dataframe raises.

  • What did you expect to happen?

bamboolib ui should load over data frame

  • What happened instead?

Raises exception:

Exception in thread Thread-8:
Traceback (most recent call last):
  File "C:\Users\z3391967\.conda\envs\testes\lib\threading.py", line 926, in _bootstrap_inner
    self.run()
  File "C:\Users\z3391967\.conda\envs\testes\lib\threading.py", line 1177, in run
    self.function(*self.args, **self.kwargs)
  File "bamboolib\setup\ipython_display.py", line 124, in bamboolib.setup.ipython_display.lazy_load_wrangler.load_wrangler
  File "bamboolib\wrangler.py", line 257, in bamboolib.wrangler.create_wrangler_for_ipython_display
  File "bamboolib\wrangler.py", line 239, in bamboolib.wrangler._show
  File "bamboolib\wrangler.py", line 54, in bamboolib.wrangler.authenticate.patched_init_function
  File "bamboolib\wrangler.py", line 70, in bamboolib.wrangler.Wrangler.__init__
  File "bamboolib\grid.py", line 658, in bamboolib.grid.show_grid
  File "bamboolib\grid.py", line 780, in bamboolib.grid.BamGridWidget.__init__
  File "bamboolib\grid.py", line 984, in bamboolib.grid.BamGridWidget._update_df
  File "bamboolib\grid.py", line 1054, in bamboolib.grid.BamGridWidget._update_table
AttributeError: module 'pandas.core' has no attribute 'index'

Reproduction Steps

  1. install environment in conda
  2. install extensions (or not, happens either way)
  3. run test (from the repo)

What steps have you taken to resolve this already?

  • Restart jupyter
  • Recreate environment

Anything else?

Works fine in docker, not sure what I'm missing in my local setup.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.