-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fix multi dimensional arrays with FlattenedStorage.to_pandas #1335
Conversation
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.
To guarantee the stability of these kinds of conversions it would be great to add tests.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@pmrv Can you merge |
for more information, see https://pre-commit.ci
Should be fixed now. |
try: | ||
dfe = store.to_pandas(explode=True) | ||
except: | ||
# Regression test | ||
self.fail( | ||
"to_pandas must not fail when multidimensional arrays are present!" | ||
) |
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.
I am a bit confused about the try except
part. I agree that it gives a nicer error message but at the same time it is not as readable.
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.
Looks good to me
No description provided.