Skip to content

Commit 929d8af

Browse files
committed
Fix flake8 errors
1 parent a5a5842 commit 929d8af

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pandas/io/tests/test_stata.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1226,10 +1226,11 @@ def test_stata_111(self):
12261226
# SAS when exporting to Stata format. We do not know of any
12271227
# on-line documentation for this version.
12281228
df = read_stata(self.dta24_111)
1229-
original = pd.DataFrame({'y': [1,1,1,1,1,0,0,np.NaN,0,0],
1230-
'x': [1,2,1,3,np.NaN,4,3,5,1,6],
1231-
'w': [2,np.NaN,5,2,4,4,3,1,2,3],
1232-
'z': ['a','b','c','d','e','','g','h','i','j']})
1229+
original = pd.DataFrame({'y': [1, 1, 1, 1, 1, 0, 0, np.NaN, 0, 0],
1230+
'x': [1, 2, 1, 3, np.NaN, 4, 3, 5, 1, 6],
1231+
'w': [2, np.NaN, 5, 2, 4, 4, 3, 1, 2, 3],
1232+
'z': ['a', 'b', 'c', 'd', 'e', '', 'g', 'h',
1233+
'i', 'j']})
12331234
original = original[['y', 'x', 'w', 'z']]
12341235
tm.assert_frame_equal(original, df)
12351236

0 commit comments

Comments
 (0)