Skip to content

Conversation

toobaz
Copy link
Member

@toobaz toobaz commented Feb 7, 2016

This fixes #12221 and #10381 . Same source file, but let me know if you want separate PRs.

@jreback
Copy link
Contributor

jreback commented Feb 7, 2016

these changes are separate

the iterable a ones don't have tests

@toobaz
Copy link
Member Author

toobaz commented Feb 7, 2016

Yes, they are separate: do you prefer separate PRs?

The iterable one has test at line 394 of pandas/io/tests/test_pytables.py.

@jreback
Copy link
Contributor

jreback commented Feb 7, 2016

separate

the iterator one needs to inherit from BaseIterator

@toobaz
Copy link
Member Author

toobaz commented Feb 7, 2016

OK, now repushing them separately. But BaseIterator is not a meaningful ancestor for HDFStore itself, since the latter can be iterated more than once, i.e. doesn't have state (i.e. doesn't have __next__).

@toobaz
Copy link
Member Author

toobaz commented Feb 8, 2016

Replaced by #12251 , #12252 , #12253

@toobaz toobaz closed this Feb 8, 2016
@toobaz toobaz deleted the hdffixes branch February 11, 2016 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KeyError Iterating on empty HDFStore

2 participants