@@ -12,7 +12,7 @@ from cpython cimport (PyObject, PyBytes_FromString,
12
12
PyBytes_AsString, PyBytes_Check,
13
13
PyUnicode_Check, PyUnicode_AsUTF8String,
14
14
PyErr_Occurred, PyErr_Fetch)
15
- from cpython.ref cimport PyObject, Py_XDECREF
15
+ from cpython.ref cimport Py_XDECREF
16
16
from pandas.errors import (ParserError, DtypeWarning,
17
17
EmptyDataError, ParserWarning)
18
18
@@ -43,12 +43,10 @@ from pandas.core.dtypes.common import (
43
43
is_categorical_dtype, CategoricalDtype,
44
44
is_integer_dtype, is_float_dtype,
45
45
is_bool_dtype, is_object_dtype,
46
- is_string_dtype, is_datetime64_dtype,
46
+ is_datetime64_dtype,
47
47
pandas_dtype)
48
- from pandas.core.categorical import Categorical, _recode_for_categories
49
- from pandas.core.algorithms import take_1d
48
+ from pandas.core.categorical import Categorical
50
49
from pandas.core.dtypes.concat import union_categoricals
51
- from pandas import Index
52
50
53
51
import pandas.io.common as com
54
52
@@ -165,7 +163,7 @@ cdef extern from "parser/tokenizer.h":
165
163
int quoting # style of quoting to write */
166
164
167
165
# hmm =/
168
- # int numeric_field
166
+ # int numeric_field
169
167
170
168
char commentchar
171
169
int allow_embedded_newline
@@ -253,11 +251,7 @@ cdef extern from "parser/tokenizer.h":
253
251
double round_trip(const char * p, char ** q, char decimal, char sci,
254
252
char tsep, int skip_trailing) nogil
255
253
256
- # inline int to_complex(char *item, double *p_real,
257
- # double *p_imag, char sci, char decimal)
258
254
int to_longlong(char * item, long long * p_value) nogil
259
- # inline int to_longlong_thousands(char *item, long long *p_value,
260
- # char tsep)
261
255
int to_boolean(const char * item, uint8_t * val) nogil
262
256
263
257
0 commit comments