diff --git a/ibis/backends/pandas/execution/generic.py b/ibis/backends/pandas/execution/generic.py index c904256a4e51..a609c784a71b 100644 --- a/ibis/backends/pandas/execution/generic.py +++ b/ibis/backends/pandas/execution/generic.py @@ -256,6 +256,11 @@ def execute_series_radians(_, data, **kwargs): return np.radians(data) +@execute_node.register(ops.Degrees, (pd.Series, *numeric_types)) +def execute_series_degrees(_, data, **kwargs): + return np.degrees(data) + + @execute_node.register((ops.Ceil, ops.Floor), pd.Series) def execute_series_ceil(op, data, **kwargs): return_type = np.object_ if data.dtype == np.object_ else np.int64 diff --git a/ibis/backends/tests/test_numeric.py b/ibis/backends/tests/test_numeric.py index d6a15bf55578..d95a3ab8fe84 100644 --- a/ibis/backends/tests/test_numeric.py +++ b/ibis/backends/tests/test_numeric.py @@ -161,14 +161,7 @@ def test_isnan_isinf( L(5.556).degrees(), math.degrees(5.556), id='degrees', - marks=pytest.mark.notimpl( - [ - "dask", - "datafusion", - "impala", - "pandas", - ] - ), + marks=pytest.mark.notimpl(["dask", "datafusion", "impala"]), ), param(L(11) % 3, 11 % 3, id='mod'), ],