Skip to content

ValueError in HDFStore column append throws a TypeError #4956

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

Closed
cpcloud opened this issue Sep 24, 2013 · 6 comments · Fixed by #4957
Closed

ValueError in HDFStore column append throws a TypeError #4956

cpcloud opened this issue Sep 24, 2013 · 6 comments · Fixed by #4957
Assignees
Labels
Error Reporting Incorrect or improved errors from pandas
Milestone

Comments

@cpcloud
Copy link
Member

cpcloud commented Sep 24, 2013

just needs to be stringified

@jtratner
Copy link
Contributor

why it's important to test specific Exception messages/types :P

@cpcloud
Copy link
Member Author

cpcloud commented Sep 24, 2013

@jtratner should we start assembling something in the wiki like:

Exhibit A: PR #4956 A classic example of why ....

😃

@ghost ghost assigned cpcloud Sep 24, 2013
@jreback
Copy link
Contributor

jreback commented Sep 24, 2013

maybe wiki entries on when to use each type of exceptions?

@jtratner
Copy link
Contributor

yeah, I think that's better. though the codebase is still riddled with Exception raising:

›› grin "raise.*Exception" | wc -l
     262

Though many of them should actually just be AssertionErrors...

@jtratner
Copy link
Contributor

We started one a while ago, but then I realized that there were almost no places where it was justified to use a custom Exception type anyways, so I didn't bother with it. - https://github.com/pydata/pandas/wiki/Choosing-Exceptions-to-Raise

@jtratner
Copy link
Contributor

I updated it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants