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

REF: simplify internals.construction #38400

Merged
merged 5 commits into from
Dec 11, 2020

Conversation

jbrockmendel
Copy link
Member

No description provided.

Copy link
Contributor

@jreback jreback left a comment

Choose a reason for hiding this comment

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

small comment for followon

) -> Tuple[List[Scalar], Union[Index, List[Axis]]]:
if len(data) > 0 and isinstance(data[0], tuple):
content = list(lib.to_object_array_tuples(data).T)
# Note: we already check len(data) > 0 before getting hre
Copy link
Contributor

Choose a reason for hiding this comment

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

can prob add a type for the returns here (internal & local to construction.py)

@jreback jreback added this to the 1.3 milestone Dec 11, 2020
@jreback jreback added the Internals Related to non-user accessible pandas implementation label Dec 11, 2020
@jreback jreback merged commit 1fa0c4c into pandas-dev:master Dec 11, 2020
@jbrockmendel jbrockmendel deleted the ref-to_arrays branch December 11, 2020 23:10
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants