We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd2ccd3 commit 1a9cfebCopy full SHA for 1a9cfeb
pandas/tests/reshape/test_pivot.py
@@ -1139,12 +1139,13 @@ def test_pivot_string_as_func(self):
1139
columns=mi).rename_axis('A')
1140
tm.assert_frame_equal(result, expected)
1141
1142
- funcs = [('sum', np.sum), ('mean', np.mean), ('std', np.std),
1143
- (['sum', 'mean'], [np.sum, np.mean]),
1144
- (['sum', 'std'], [np.sum, np.std]),
1145
- (['std', 'mean'], [np.std, np.mean])]
1146
-
1147
- @pytest.mark.parametrize("f, f_numpy", funcs)
+ @pytest.mark.parametrize('f, f_numpy',
+ [('sum', np.sum),
+ ('mean', np.mean),
+ ('std', np.std),
+ (['sum', 'mean'], [np.sum, np.mean]),
+ (['sum', 'std'], [np.sum, np.std]),
1148
+ (['std', 'mean'], [np.std, np.mean])])
1149
def test_pivot_string_func_vs_func(self, f, f_numpy):
1150
# GH #18713
1151
# for consistency purposes
0 commit comments