buckaroo icon indicating copy to clipboard operation
buckaroo copied to clipboard

Index column displayed as none when index name given.

Open nasrin1748 opened this issue 1 year ago • 1 comments

Checks

  • [X] I have checked that this issue has not already been reported.

  • [X] I have confirmed this bug exists on the latest version of Buckaroo.

What type of jupyter notebook were you using (VSCode notebook, google colab, Jupyter Lab, Jupyter notebook). Select multiple if you can reproduce this in multiple environments. If other, please add to description.

Jupyter Notebook

Reproducible example

import numpy as np
import pandas as pd
import buckaroo
x = np.arange(4,9)
df = pd.DataFrame({"col1":"1","col2":"2"},index=pd.Index(x, name="ind"))
df

Issue description

When I give a name to index column, the index column shows as none. buck

Expected behavior

Replace index name and display the index column.

Installed versions

``` Selected Jupyter core packages... executing in jupyter-notebook buckaroo : 0.6.11 jupyterlab : 4.1.5 notebook : 7.0.8 ipywidgets : 8.1.2 traitlets : 5.7.1 jupyter_core : 5.5.0 pandas : 2.2.1 numpy : 1.26.4 IPython : 8.20.0 ipykernel : 6.28.0 jupyter_client : 8.6.0 jupyter_server : 2.10.0 nbclient : 0.8.0 nbconvert : 7.10.0 nbformat : 5.9.2 qtconsole : not installed buckaroo : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\buckaroo\__init__.py jupyterlab : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\jupyterlab\__init__.py notebook : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\notebook\__init__.py ipywidgets : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\ipywidgets\__init__.py traitlets : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\traitlets\__init__.py jupyter_core : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\jupyter_core\__init__.py pandas : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\pandas\__init__.py numpy : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\numpy\__init__.py IPython : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\IPython\__init__.py ipykernel : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\ipykernel\__init__.py jupyter_client : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\jupyter_client\__init__.py jupyter_server : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\jupyter_server\__init__.py nbclient : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\nbclient\__init__.py nbconvert : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\nbconvert\__init__.py nbformat : C:\Users\91949\anaconda3\new\envs\new1\Lib\site-packages\nbformat\__init__.py qtconsole : not installed ```

Jupyter Log output

No response

nasrin1748 avatar May 28 '24 04:05 nasrin1748

This is a bug, but it is a fairly odd edge case for now.

paddymul avatar Nov 01 '24 16:11 paddymul

Image

fixed by #399 release 0.11.0 This and many related named index cases are shown in the ddd_library

paddymul avatar Jul 29 '25 18:07 paddymul