-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
BUG: fix reading multi-index data in python parser #7029
Conversation
@@ -1383,7 +1383,7 @@ def __init__(self, f, **kwds): | |||
# multiple date column thing turning into a real spaghetti factory | |||
if not self._has_complex_date_col: | |||
(index_names, | |||
self.orig_names, columns_) = self._get_index_name(self.columns) |
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.
Don't ignore columns here, we will lose the columns added from the row specifying the index...
ok, pls add a release note (even if it doesn't completely solve) |
@jreback OK, release note added. OK to open another PR for the C parser fix or at least to detect the condition? |
go ahead and open a new issue for the c-parser (reference the original issue too and this fix) put the release note with the other changes for the parser (just move right below) |
would it make sense just to leave the original issue open, since this is only a partial fix?
sort of... |
ok...we can leave the original issue open, no prob let me know when you have rebased and green |
@jreback green! |
BUG: fix reading multi-index data in python parser
thanks! ok....so come back to the open issue at some point (its in 0.14.1), the projected bug-fix release |
partial fix for #6893
The python parser has a problem reading data with a multi-index specified in the row following the header, for example
(the C parser doesn't make it this far, see #6893)
This PR fixes the bug in the python parser: