-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
CLN: Drop compact_ints/use_unsigned from read_csv #18851
Conversation
All is green. Anyone welcome to have a look to merge this. |
wait on merging anything |
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: |
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 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.
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.
GitHub search seems to verify that belief.
Deprecated in v0.19.0 xref pandas-devgh-13323
It was only being used for the compact_ints and use_unsigned parameters in read_csv.
efea2fb
to
74516a8
Compare
Function removed, and all is green still. PTAL. |
thanks @gfyoung |
Deprecated in v0.19.0
xref #13323