|
38 | 38 | (pd.Series, ([0],), operator.methodcaller("take", [])),
|
39 | 39 | (pd.Series, ([0],), operator.methodcaller("__getitem__", [True])),
|
40 | 40 | (pd.Series, ([0],), operator.methodcaller("repeat", 2)),
|
41 |
| - pytest.param( |
42 |
| - (pd.Series, ([0],), operator.methodcaller("reset_index")), |
43 |
| - marks=pytest.mark.xfail, |
44 |
| - ), |
| 41 | + (pd.Series, ([0],), operator.methodcaller("reset_index")), |
45 | 42 | (pd.Series, ([0],), operator.methodcaller("reset_index", drop=True)),
|
46 |
| - pytest.param( |
47 |
| - (pd.Series, ([0],), operator.methodcaller("to_frame")), marks=pytest.mark.xfail |
48 |
| - ), |
| 43 | + (pd.Series, ([0],), operator.methodcaller("to_frame")), |
49 | 44 | (pd.Series, ([0, 0],), operator.methodcaller("drop_duplicates")),
|
50 | 45 | (pd.Series, ([0, 0],), operator.methodcaller("duplicated")),
|
51 | 46 | (pd.Series, ([0, 0],), operator.methodcaller("round")),
|
|
205 | 200 | ),
|
206 | 201 | pytest.param(
|
207 | 202 | (pd.DataFrame, frame_data, operator.methodcaller("round", 2)),
|
208 |
| - marks=not_implemented_mark, |
209 | 203 | ),
|
210 | 204 | pytest.param(
|
211 | 205 | (pd.DataFrame, frame_data, operator.methodcaller("corr")),
|
|
228 | 222 | ),
|
229 | 223 | pytest.param(
|
230 | 224 | (pd.DataFrame, frame_data, operator.methodcaller("count")),
|
231 |
| - marks=not_implemented_mark, |
232 | 225 | ),
|
233 | 226 | pytest.param(
|
234 | 227 | (pd.DataFrame, frame_mi_data, operator.methodcaller("count", level="A")),
|
235 | 228 | marks=[
|
236 |
| - not_implemented_mark, |
237 | 229 | pytest.mark.filterwarnings("ignore:Using the level keyword:FutureWarning"),
|
238 | 230 | ],
|
239 | 231 | ),
|
|
261 | 253 | ),
|
262 | 254 | pytest.param(
|
263 | 255 | (pd.DataFrame, frame_data, operator.methodcaller("quantile", q=[0.25, 0.75])),
|
264 |
| - marks=not_implemented_mark, |
265 | 256 | ),
|
266 | 257 | pytest.param(
|
267 | 258 | (pd.DataFrame, frame_data, operator.methodcaller("quantile")),
|
|
279 | 270 | ),
|
280 | 271 | pytest.param(
|
281 | 272 | (pd.DataFrame, frame_mi_data, operator.methodcaller("isin", [1])),
|
282 |
| - marks=not_implemented_mark, |
283 | 273 | ),
|
284 | 274 | pytest.param(
|
285 | 275 | (pd.DataFrame, frame_mi_data, operator.methodcaller("isin", pd.Series([1]))),
|
286 |
| - marks=not_implemented_mark, |
287 | 276 | ),
|
288 | 277 | pytest.param(
|
289 | 278 | (
|
290 | 279 | pd.DataFrame,
|
291 | 280 | frame_mi_data,
|
292 | 281 | operator.methodcaller("isin", pd.DataFrame({"A": [1]})),
|
293 | 282 | ),
|
294 |
| - marks=not_implemented_mark, |
295 | 283 | ),
|
296 | 284 | (pd.DataFrame, frame_data, operator.methodcaller("swapaxes", 0, 1)),
|
297 | 285 | (pd.DataFrame, frame_mi_data, operator.methodcaller("droplevel", "A")),
|
|
300 | 288 | (pd.DataFrame, frame_data, operator.methodcaller("squeeze")),
|
301 | 289 | marks=not_implemented_mark,
|
302 | 290 | ),
|
303 |
| - pytest.param( |
304 |
| - (pd.Series, ([1, 2],), operator.methodcaller("squeeze")) |
305 |
| - # marks=not_implemented_mark, |
306 |
| - ), |
| 291 | + (pd.Series, ([1, 2],), operator.methodcaller("squeeze")), |
307 | 292 | (pd.Series, ([1, 2],), operator.methodcaller("rename_axis", index="a")),
|
308 | 293 | (pd.DataFrame, frame_data, operator.methodcaller("rename_axis", columns="a")),
|
309 | 294 | # Unary ops
|
|
315 | 300 | (pd.Series, [1], operator.inv),
|
316 | 301 | (pd.DataFrame, frame_data, abs),
|
317 | 302 | (pd.Series, [1], abs),
|
318 |
| - pytest.param((pd.DataFrame, frame_data, round), marks=not_implemented_mark), |
| 303 | + pytest.param((pd.DataFrame, frame_data, round)), |
319 | 304 | (pd.Series, [1], round),
|
320 | 305 | (pd.DataFrame, frame_data, operator.methodcaller("take", [0, 0])),
|
321 | 306 | (pd.DataFrame, frame_mi_data, operator.methodcaller("xs", "a")),
|
|
461 | 446 | marks=not_implemented_mark,
|
462 | 447 | ),
|
463 | 448 | (pd.Series, ([1, 2],), operator.methodcaller("pct_change")),
|
464 |
| - pytest.param( |
465 |
| - (pd.DataFrame, frame_data, operator.methodcaller("pct_change")), |
466 |
| - marks=not_implemented_mark, |
467 |
| - ), |
| 449 | + (pd.DataFrame, frame_data, operator.methodcaller("pct_change")), |
468 | 450 | (pd.Series, ([1],), operator.methodcaller("transform", lambda x: x - x.min())),
|
469 | 451 | pytest.param(
|
470 | 452 | (
|
|
0 commit comments