8000 Assorted _libs cleanups by jbrockmendel · Pull Request #19887 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

Assorted _libs cleanups #19887

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 10 commits into from
Feb 28, 2018
Prev Previous commit
Next Next commit
remove semicolons
  • Loading branch information
jbrockmendel committed Feb 24, 2018
commit 1227517f8fb8e913de0708655095fc4e970a362f
4 changes: 2 additions & 2 deletions pandas/_libs/src/inference.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ def maybe_convert_numeric(ndarray[object] values, set na_values,
cdef:
int status, maybe_int
Py_ssize_t i, n = values.size
Seen seen = Seen(coerce_numeric);
Seen seen = Seen(coerce_numeric)
ndarray[float64_t] floats = np.empty(n, dtype='f8')
ndarray[complex128_t] complexes = np.empty(n, dtype='c16')
ndarray[int64_t] ints = np.empty(n, dtype='i8')
Expand Down Expand Up @@ -1224,7 +1224,7 @@ def maybe_convert_objects(ndarray[object] objects, bint try_float=0,
ndarray[uint8_t] bools
ndarray[int64_t] idatetimes
ndarray[int64_t] itimedeltas
Seen seen = Seen();
Seen seen = Seen()
object val, onan
float64_t fval, fnan

Expand Down
0