Skip to content

Commit 613f098

Browse files
authored
CI: DataFrame.apply(np.any) (#37879)
1 parent d08ca2f commit 613f098

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pandas/tests/frame/conftest.py

+5
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,11 @@ def bool_frame_with_na():
7676
# set some NAs
7777
df.iloc[5:10] = np.nan
7878
df.iloc[15:20, -2:] = np.nan
79+
80+
# For `any` tests we need to have at least one True before the first NaN
81+
# in each column
82+
for i in range(4):
83+
df.iloc[i, i] = True
7984
return df
8085

8186

0 commit comments

Comments
 (0)