Skip to content

Commit 2fb1178

Browse files
committed
in import replace common with com
1 parent 7393db8 commit 2fb1178

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pandas/_libs/parsers.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ from pandas.core.algorithms import take_1d
5050
from pandas.core.dtypes.concat import union_categoricals
5151
from pandas import Index
5252

53-
import pandas.io.common as common
53+
import pandas.io.common as com
5454

5555
import time
5656
import os
@@ -1378,7 +1378,7 @@ cdef asbytes(object o):
13781378
# common NA values
13791379
# no longer excluding inf representations
13801380
# '1.#INF','-1.#INF', '1.#INF000000',
1381-
_NA_VALUES = _ensure_encoded(list(common._NA_VALUES))
1381+
_NA_VALUES = _ensure_encoded(list(com._NA_VALUES))
13821382

13831383

13841384
def _is_file_like(obj):

pandas/tests/io/parser/na_values.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import numpy as np
99
from numpy import nan
1010

11-
import pandas.io.common as common
11+
import pandas.io.common as com
1212
import pandas.util.testing as tm
1313

1414
from pandas import DataFrame, Index, MultiIndex
@@ -72,7 +72,7 @@ def test_default_na_values(self):
7272
_NA_VALUES = set(['-1.#IND', '1.#QNAN', '1.#IND', '-1.#QNAN',
7373
'#N/A', 'N/A', 'n/a', 'NA', '#NA', 'NULL', 'null',
7474
'NaN', 'nan', '-NaN', '-nan', '#N/A N/A', ''])
75-
assert _NA_VALUES == common._NA_VALUES
75+
assert _NA_VALUES == com._NA_VALUES
7676
nv = len(_NA_VALUES)
7777

7878
def f(i, v):

0 commit comments

Comments
 (0)