Coverage for src / jquantstats / _types.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-03-26 18:44 +0000

1# SPDX-License-Identifier: MIT 

2"""Type aliases for narwhals-compatible input frames.""" 

3 

4from typing import TypeAlias 

5 

6import narwhals.typing as nw_typing 

7 

8NativeFrame: TypeAlias = nw_typing.IntoDataFrame 

9NativeFrameOrScalar: TypeAlias = nw_typing.IntoDataFrame | float