Skip to content

Commit 054821d

Browse files
committed
TST: 32-test fixes
1 parent 16a44ad commit 054821d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/test_categorical.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2969,9 +2969,9 @@ def test_pickle_v0_15_2(self):
29692969

29702970
def test_concat_categorical(self):
29712971
# See GH 10177
2972-
df1 = pd.DataFrame(np.arange(18).reshape(6, 3), columns=["a", "b", "c"])
2972+
df1 = pd.DataFrame(np.arange(18, dtype='int64').reshape(6, 3), columns=["a", "b", "c"])
29732973

2974-
df2 = pd.DataFrame(np.arange(14).reshape(7, 2), columns=["a", "c"])
2974+
df2 = pd.DataFrame(np.arange(14, dtype='int64').reshape(7, 2), columns=["a", "c"])
29752975
df2['h'] = pd.Series(pd.Categorical(["one", "one", "two", "one", "two", "two", "one"]))
29762976

29772977
df_concat = pd.concat((df1, df2), axis=0).reset_index(drop=True)

0 commit comments

Comments
 (0)