Skip to content

Conversation

jorisvandenbossche
Copy link
Member

xref #39146

Getting the tests passing for the indexing tests, her for pandas/tests/series/indexing (pandas/tests/indexing is done in #40325 and pandas/tests/frame/indexing is done in #40323)

@jorisvandenbossche jorisvandenbossche added Indexing Related to indexing on series/frames, not to indexes themselves Internals Related to non-user accessible pandas implementation labels Mar 9, 2021
raise ValueError(
"Passed array should be 1-dimensional, got array with "
f"{arr.ndim} dimensions instead."
)
Copy link
Member

Choose a reason for hiding this comment

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

can you share any of this with the parent classes' _verify_integrity?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not really, I think. The parent version assumes the object is 2D, so won't work for SingleArrayManager.
I assume that the part of _verify_integrity that checks the individual array could be factored out into a shared helper function, but I would rather leave that for a follow-up.

@jbrockmendel
Copy link
Member

LGTM cc @jreback

@jreback jreback added this to the 1.3 milestone Mar 12, 2021
@jreback jreback merged commit 2b74a91 into pandas-dev:master Mar 12, 2021
@jreback
Copy link
Contributor

jreback commented Mar 12, 2021

thanks @jorisvandenbossche

@jorisvandenbossche jorisvandenbossche deleted the am-indexing-tests-series branch March 15, 2021 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indexing Related to indexing on series/frames, not to indexes themselves Internals Related to non-user accessible pandas implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants