Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

BUG: Fix #61221: Exception with unstack(sort=False) and NA in index.#61226

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
gsmll wants to merge24 commits intopandas-dev:main
base:main
Choose a base branch
Loading
fromgsmll:fix-issue-61221
Open
Changes from1 commit
Commits
Show all changes
24 commits
Select commitHold shift + click to select a range
7503537
BUG: Fix #61221: Exception with unstack(sort=False) and NA in index.
Apr 3, 2025
c0a7c80
BUG: Fix #61221: Exception with unstack(sort=False) and NA in index.
Apr 3, 2025
7a8fddb
fixed formatting
Apr 3, 2025
a397466
fixed issue with unsorted unstack, should now work
Apr 3, 2025
eb2fb7a
Merge branch 'main' into fix-issue-61221
gsmllApr 4, 2025
3539ac6
Instead of creating variable self.na, constructed na index locally
Apr 4, 2025
64f5173
fixed issues with local variable
Apr 4, 2025
e2b38b1
fixed the fix -oops
Apr 4, 2025
31d7b33
fixed up tests
Apr 9, 2025
05c8a02
Merge branch 'main' into fix-issue-61221
gsmllApr 9, 2025
cc1deb6
Merge branch 'main' into fix-issue-61221
gsmllApr 11, 2025
84d6bd3
Add Pandas Cookbook to Book Recommendations (#61271)
WillAydApr 11, 2025
f7e910e
shortened factorize
Apr 11, 2025
a147c6d
optimized shortened factorized
Apr 11, 2025
1abbc73
Merge branch 'main' into fix-issue-61221
gsmllApr 11, 2025
c35e8cc
fixed typing issue
Apr 11, 2025
8afbad2
Merge branch 'main' into fix-issue-61221
gsmllApr 13, 2025
8c19221
Merge branch 'main' into fix-issue-61221
gsmllApr 14, 2025
555bad9
Merge branch 'main' into fix-issue-61221
gsmllApr 16, 2025
cfb5e92
Merge branch 'main' into fix-issue-61221
gsmllApr 22, 2025
a677315
Merge branch 'main' into fix-issue-61221
gsmllMay 12, 2025
1f9cd53
Merge branch 'main' into fix-issue-61221
gsmllMay 15, 2025
f72d1df
Merge branch 'main' into fix-issue-61221
gsmllMay 15, 2025
c514d68
Merge branch 'main' into fix-issue-61221
gsmllMay 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
fixed typing issue
  • Loading branch information
Gabe Small authored andGabe Small committedApr 11, 2025
commitc35e8cc2d62d37bd9ff229fc45d57adc44de2638
2 changes: 1 addition & 1 deletionpandas/core/reshape/reshape.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -177,7 +177,7 @@ def _indexer_and_to_sort(
# setting nans back to nan to maintain the -1 values
if self.lift:
codes = [
factorize(np.where(code == -1,None, code))[0] for code in codes
factorize(np.where(code == -1,np.nan, code))[0] for code in codes
]
else:
codes = [factorize(code)[0] for code in codes]
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp