Skip to content
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

CLN: Drop compact_ints/use_unsigned from read_csv #18851

Merged
merged 2 commits into from
Dec 21, 2017

Conversation

gfyoung
Copy link
Member

@gfyoung gfyoung commented Dec 19, 2017

Deprecated in v0.19.0

xref #13323

@gfyoung gfyoung added Clean Deprecate Functionality to remove in pandas labels Dec 19, 2017
@gfyoung gfyoung added this to the 0.22.0 milestone Dec 19, 2017
@gfyoung
Copy link
Member Author

gfyoung commented Dec 20, 2017

All is green. Anyone welcome to have a look to merge this.

@jreback
Copy link
Contributor

jreback commented Dec 20, 2017

wait on merging anything

@gfyoung
Copy link
Member Author

gfyoung commented Dec 20, 2017

Ah, right. Travis is still failing. Got it.

@@ -1569,11 +1544,6 @@ def _convert_to_ndarrays(self, dct, na_values, na_fvalues, verbose=False,
if cast_type and not is_dtype_equal(cvals, cast_type):
cvals = self._cast_types(cvals, cast_type, c)

if issubclass(cvals.dtype.type, np.integer) and self.compact_ints:
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe we can also blow away lib.downcast_int64, to_numeric uses a different (and better) mechanism for doing this. IIRC downcast_int64 was only for compatibility.

Copy link
Member Author

Choose a reason for hiding this comment

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

GitHub search seems to verify that belief.

It was only being used for the compact_ints
and use_unsigned parameters in read_csv.
@gfyoung
Copy link
Member Author

gfyoung commented Dec 21, 2017

Function removed, and all is green still. PTAL.

@jreback jreback merged commit 0112267 into pandas-dev:master Dec 21, 2017
@jreback
Copy link
Contributor

jreback commented Dec 21, 2017

thanks @gfyoung

@gfyoung gfyoung deleted the compact-unsigned-remove branch December 22, 2017 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants