Skip to content

CLN: Exception catching #28361

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

Merged
merged 1 commit into from
Sep 10, 2019
Merged

CLN: Exception catching #28361

merged 1 commit into from
Sep 10, 2019

Conversation

jbrockmendel
Copy link
Member

No description provided.

subarr = np.array(data, dtype=object, copy=copy)
subarr = lib.maybe_convert_objects(subarr)

subarr = _try_cast(data, dtype, copy, raise_cast_failure)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come we don't need this try anymore?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have any test cases that make it past here. I'm planning to put some more effort into trying to think up a case that would, but if I/we can't, then this is unnecessary.

@gfyoung gfyoung added Clean Error Reporting Incorrect or improved errors from pandas labels Sep 9, 2019
@jreback jreback added this to the 1.0 milestone Sep 10, 2019
@jreback jreback merged commit 2fb91ed into pandas-dev:master Sep 10, 2019
@jreback
Copy link
Contributor

jreback commented Sep 10, 2019

thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the faster7 branch September 10, 2019 14:59
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants