Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index column displayed as none when index name given. #274

Open
2 tasks done
nasrin1748 opened this issue May 28, 2024 · 1 comment
Open
2 tasks done

Index column displayed as none when index name given. #274

nasrin1748 opened this issue May 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nasrin1748
Copy link

Checks

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

  • 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 nasrin1748 added the bug Something isn't working label May 28, 2024
@paddymul
Copy link
Owner

paddymul commented Nov 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants