(arr)
| 2235 | def test_pivot_table_no_column_raises(self): |
| 2236 | # GH 10326 |
| 2237 | def agg(arr): |
| 2238 | return np.mean(arr) |
| 2239 | |
| 2240 | df = DataFrame({"X": [0, 0, 1, 1], "Y": [0, 1, 0, 1], "Z": [10, 20, 30, 40]}) |
| 2241 | with pytest.raises(KeyError, match="notpresent"): |
no test coverage detected