-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
PERF: future_stack=True with non-MulitIndex columns #58817
base: main
Are you sure you want to change the base?
Conversation
…_stack_index # Conflicts: # pandas/core/reshape/reshape.py
@jbrockmendel - the failing tests are:
This happens because of some monkey-patching It's not clear to me if the code should handle this case, or if this behavior is okay and the test should be modified. Was wondering if you had any experience dealing with this. |
if len(frame.columns) > 0 and frame._is_homogeneous_type: | ||
dtype = frame._mgr.blocks[0].dtype |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if there is a more canonical way to get the dtype in this case.
The behavior is fine, the test should be patched |
This pull request is stale because it has been open for thirty days with no activity. Please update and respond to this comment if you're still interested in working on this. |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.