From 995526d3dc271207c888365d4504afcc9bdb3d9e Mon Sep 17 00:00:00 2001 From: ritchie Date: Tue, 1 Oct 2024 16:59:05 +0200 Subject: [PATCH] skip and docs --- .../docs/source/reference/expressions/computation.rst | 8 ++++++++ py-polars/docs/source/reference/series/computation.rst | 8 ++++++++ py-polars/tests/unit/operations/test_bitwise.py | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/py-polars/docs/source/reference/expressions/computation.rst b/py-polars/docs/source/reference/expressions/computation.rst index 46dba474834f..4ad8e68a1bfd 100644 --- a/py-polars/docs/source/reference/expressions/computation.rst +++ b/py-polars/docs/source/reference/expressions/computation.rst @@ -15,6 +15,14 @@ Computation Expr.arctan Expr.arctanh Expr.arg_unique + Expr.bitwise_count_ones + Expr.bitwise_count_zeros + Expr.bitwise_leading_ones + Expr.bitwise_trailing_ones + Expr.bitwise_trailing_zeros + Expr.bitwise_and + Expr.bitwise_or + Expr.bitwise_xor Expr.cbrt Expr.cos Expr.cosh diff --git a/py-polars/docs/source/reference/series/computation.rst b/py-polars/docs/source/reference/series/computation.rst index 9e3edb3ac0f6..887fed5b0ec2 100644 --- a/py-polars/docs/source/reference/series/computation.rst +++ b/py-polars/docs/source/reference/series/computation.rst @@ -15,6 +15,14 @@ Computation Series.arctanh Series.arg_true Series.arg_unique + Series.bitwise_count_ones + Series.bitwise_count_zeros + Series.bitwise_leading_ones + Series.bitwise_trailing_ones + Series.bitwise_trailing_zeros + Series.bitwise_and + Series.bitwise_or + Series.bitwise_xor Series.cbrt Series.cos Series.cosh diff --git a/py-polars/tests/unit/operations/test_bitwise.py b/py-polars/tests/unit/operations/test_bitwise.py index f9efb52a40f0..e7a957fb534b 100644 --- a/py-polars/tests/unit/operations/test_bitwise.py +++ b/py-polars/tests/unit/operations/test_bitwise.py @@ -95,7 +95,7 @@ def trailing_ones(v: int | None) -> int | None: ], ) @pytest.mark.skipif(sys.version_info < (3, 10), reason="bit_count introduced in 3.10") -@typing.no_type_check() +@typing.no_type_check def test_bit_counts(value: int, dtype: pl.DataType) -> None: bitsize = 8 if "Boolean" in str(dtype):