We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 304a5f4 commit 112d126Copy full SHA for 112d126
pandas/io/tests/test_stata.py
@@ -780,8 +780,14 @@ def test_drop_column(self):
780
expected = expected[columns]
781
dropped = read_stata(self.dta15_117, convert_dates=True,
782
columns=columns)
783
-
784
tm.assert_frame_equal(expected, dropped)
+
785
+ columns = ['int_', 'long_', 'byte_']
786
+ expected = expected[columns]
787
+ reordered = read_stata(self.dta15_117, convert_dates=True,
788
+ columns=columns)
789
+ tm.assert_frame_equal(expected, reordered)
790
791
with tm.assertRaises(ValueError):
792
columns = ['byte_', 'byte_']
793
read_stata(self.dta15_117, convert_dates=True, columns=columns)
0 commit comments