Skip to content

REF: implement io.pytables.DataCol._get_atom #30102

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 5 commits into from
Dec 6, 2019

Conversation

jbrockmendel
Copy link
Member

companion to #30101 with promised payoff (logically orthgonal, but will have merge conflict when the time comes)

This implements _get_atom and makes only one call to it on 3949. By making all the relevant methods into classmethods, we can call it before we've instantiated an instance. Then following #30100, we'll be able to pass typ to the constructor instead of pinning it. This in turn will let us pass pos instead of calling set_pos.

Also after both this and #30101, we can get to rip out a bunch of no-longer-needed state-altering methods.

@jbrockmendel jbrockmendel added Refactor Internal refactoring of code IO HDF5 read_hdf, HDFStore labels Dec 6, 2019
@jbrockmendel
Copy link
Member Author

updated to use is_foo_dtype, and green ex the resource warning

@jreback jreback added this to the 1.0 milestone Dec 6, 2019
@jreback jreback merged commit 40ef325 into pandas-dev:master Dec 6, 2019
@jreback
Copy link
Contributor

jreback commented Dec 6, 2019

thanks

@jbrockmendel jbrockmendel deleted the ref-pytables-get_atom branch December 6, 2019 04:11
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO HDF5 read_hdf, HDFStore Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants