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

Closed
wants to merge 6 commits into 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

All modified and coverable lines are covered by tests ✅

Project coverage is 49.68%. Comparing base (b320ca3) to head (629d124).
Report is 52 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (b320ca3) and HEAD (629d124). Click for more details.

HEAD has 20 uploads less than BASE
Flag BASE (b320ca3) HEAD (629d124)
unittests 22 2
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #745       +/-   ##
===========================================
- Coverage   82.55%   49.68%   -32.87%     
===========================================
  Files        1058     1058               
  Lines       79780    79780               
  Branches    16504    12433     -4071     
===========================================
- Hits        65861    39638    -26223     
- Misses      11645    38561    +26916     
+ Partials     2274     1581      -693     
Flag Coverage Δ
unittests 49.67% <ø> (-32.75%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@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
@XprobeBot XprobeBot modified the milestones: v0.7.3, v0.7.4 Aug 22, 2024
@luweizheng luweizheng removed this from the v0.7.4 milestone Dec 16, 2024
@luweizheng
Copy link
Collaborator

Fixed by #836

@luweizheng luweizheng closed this Dec 18, 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.

3 participants