Skip to content

reset_index behavior on empty frames #409

@delucchi-cmu

Description

@delucchi-cmu

Bug report

See debugging in the following notebooks:

https://github.com/lincc-frameworks/notebooks_lf/blob/main/sprints/2025/12_04/issue_994.ipynb

reset_index behaves differently for empty vs populated dataframes under <hand-waving>SOME</hand-waving> conditions.

Environment Information

lsdb 0.7.1
nested 0.6.2

Before submitting
Please check the following:

  • I have described the situation in which the bug arose, including what code was executed, and any applicable data others will need to reproduce the problem.
  • I have included information about my environment, including the version of this package (e.g. nested_pandas.__version__)
  • I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a description of what I expected instead.
  • If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions