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 a5a5842 commit 929d8afCopy full SHA for 929d8af
pandas/io/tests/test_stata.py
@@ -1226,10 +1226,11 @@ def test_stata_111(self):
1226
# SAS when exporting to Stata format. We do not know of any
1227
# on-line documentation for this version.
1228
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']})
+ original = pd.DataFrame({'y': [1, 1, 1, 1, 1, 0, 0, np.NaN, 0, 0],
+ 'x': [1, 2, 1, 3, np.NaN, 4, 3, 5, 1, 6],
+ 'w': [2, np.NaN, 5, 2, 4, 4, 3, 1, 2, 3],
+ 'z': ['a', 'b', 'c', 'd', 'e', '', 'g', 'h',
1233
+ 'i', 'j']})
1234
original = original[['y', 'x', 'w', 'z']]
1235
tm.assert_frame_equal(original, df)
1236
0 commit comments