-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REF: finish setting pytables IndexCol attrs in constructor #30161
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: finish setting pytables IndexCol attrs in constructor #30161
Conversation
@@ -2490,8 +2475,7 @@ def get_atom_timedelta64(cls, shape): | |||
class GenericDataIndexableCol(DataIndexableCol): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we just blow this class away altogether now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
worth a shot
md = self.read_metadata(c) | ||
meta = "category" if md is not None else None | ||
# TODO: figure out why these two versions of `meta` dont always match. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is going on here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So ever place where we set self.meta
it is equivalent to meta = "category" if md is not None else none
, but in this one place where we read it from the file, there is one test case where it doesnt match, and i dont know why.
if/when that is resolved, meta
can be made a property
can you rebase |
…f-pytables-get_attr
rebased+green |
k thanks |
we're not all the way done, but this is a big milestone