Skip to content

Commit 1271d61

Browse files
committed
pep8
1 parent 4e899db commit 1271d61

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pandas/tests/test_categorical.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -2245,14 +2245,14 @@ def test_empty_astype(self, columns):
22452245

22462246
def test_construction_series(self):
22472247

2248-
l = [1, 2, 3, 1]
2249-
exp = Series(l).astype('category')
2250-
res = Series(l, dtype='category')
2248+
data = [1, 2, 3, 1]
2249+
exp = Series(data).astype('category')
2250+
res = Series(data, dtype='category')
22512251
tm.assert_series_equal(res, exp)
22522252

2253-
l = ["a", "b", "c", "a"]
2254-
exp = Series(l).astype('category')
2255-
res = Series(l, dtype='category')
2253+
data = ["a", "b", "c", "a"]
2254+
exp = Series(data).astype('category')
2255+
res = Series(data, dtype='category')
22562256
tm.assert_series_equal(res, exp)
22572257

22582258
# insert into frame with different index

0 commit comments

Comments
 (0)