We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdf8934 commit edf283eCopy full SHA for edf283e
1 file changed
narwhals/_compliant/typing.py
@@ -112,8 +112,18 @@
112
LazyExprT_contra = TypeVar("LazyExprT_contra", bound=LazyExprAny, contravariant=True)
113
114
AliasNames: TypeAlias = Callable[[Sequence[str]], Sequence[str]]
115
+"""A function aliasing a *sequence* of column names."""
116
+
117
AliasName: TypeAlias = Callable[[str], str]
118
+"""A function aliasing a *single* column name."""
119
120
EvalSeries: TypeAlias = Callable[
121
[CompliantFrameT], Sequence[CompliantSeriesOrNativeExprT]
122
]
123
+"""A function from a `Frame` to a sequence of `Series`*.
124
125
+See [underwater unicorn magic](https://narwhals-dev.github.io/narwhals/how_it_works/).
126
+"""
127
128
EvalNames: TypeAlias = Callable[[CompliantFrameT], Sequence[str]]
129
+"""**NEEDS DOC**"""
0 commit comments