We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 043d445 commit c2cbdf9Copy full SHA for c2cbdf9
pandas/_libs/parsers.pyx
@@ -275,16 +275,10 @@ cdef extern from "parser/io.h":
275
276
DEFAULT_CHUNKSIZE = 256 * 1024
277
278
-
279
-def c_type_conv(st):
280
- cdef bytes py_bytes = st.encode()
281
- return py_bytes
282
283
284
# common NA values
285
# no longer excluding inf representations
286
# '1.#INF','-1.#INF', '1.#INF000000',
287
-_NA_VALUES = [c_type_conv(x) for x in parsers._NA_VALUES]
+_NA_VALUES =_ensure_encoded(in parsers._NA_VALUES)
288
289
290
cdef class TextReader:
0 commit comments