Skip to content

REF: arrays_to_manager dont need names #43110

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

Merged
merged 2 commits into from
Aug 19, 2021

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

In turn this means that create_block_manager_from_arrays doesnt need columns, but bc that is in the pseudo-public API the existing version will need to be moved to internals.api before being simplified. Saving that for a separate step.

@jreback jreback added Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code labels Aug 19, 2021
@@ -2025,6 +2022,20 @@ def from_records(
if columns is not None:
columns = ensure_index(columns)

def maybe_reorder(arrays, arr_columns, columns, index):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you type

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@jreback jreback added this to the 1.4 milestone Aug 19, 2021
@jreback jreback merged commit e86bba6 into pandas-dev:master Aug 19, 2021
@jbrockmendel jbrockmendel deleted the perf-form_blocks branch August 19, 2021 19:21
feefladder pushed a commit to feefladder/pandas that referenced this pull request Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Internals Related to non-user accessible pandas implementation Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants