Skip to content

[ArrayManager] TST: run (+fix/skip) pandas/tests/series/indexing tests #40326

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 10 commits into from
Mar 12, 2021

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