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

BUG: column set when using xorbits.pandas.Index #745

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

ChengjieLi28
Copy link
Contributor

Without this PR, this example will raise an error:

import xorbits.pandas as xpd

data = {"a": [1, 2, 3], "b": [4, 5, 6]}
xdf = xpd.DataFrame(data)

xdf.columns = xpd.Index(["c1", "d1"])
print(xdf)

Related issue number

Fixes #xxxx

Check code requirements

  • tests added / passed (if needed)
  • Ensure all linting tests pass

@XprobeBot XprobeBot added the bug Something isn't working label Oct 17, 2023
@XprobeBot XprobeBot added this to the v0.7.0 milestone Oct 17, 2023
@codecov
Copy link

codecov bot commented Oct 17, 2023

Codecov Report

Merging #745 (629d124) into main (b320ca3) will decrease coverage by 26.87%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #745       +/-   ##
===========================================
- Coverage   76.54%   49.68%   -26.87%     
===========================================
  Files        1058     1058               
  Lines       79780    79780               
  Branches    16504    12433     -4071     
===========================================
- Hits        61071    39638    -21433     
- Misses      16316    38561    +22245     
+ Partials     2393     1581      -812     
Flag Coverage Δ
unittests 49.67% <ø> (-26.79%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
python/xorbits/_mars/dataframe/datasource/index.py 74.26% <ø> (-17.65%) ⬇️

... and 625 files with indirect coverage changes

@XprobeBot XprobeBot modified the milestones: v0.7.0, v0.7.1 Oct 23, 2023
@XprobeBot XprobeBot modified the milestones: v0.7.1, v0.7.2 Nov 21, 2023
@XprobeBot XprobeBot modified the milestones: v0.7.2, v0.7.3 Jan 5, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants