Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein committed Feb 19, 2025
1 parent 89bd519 commit 3bd2ad6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metalearners/_typing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) QuantCo 2024-2024
# Copyright (c) QuantCo 2024-2025
# SPDX-License-Identifier: BSD-3-Clause

from collections.abc import Callable, Collection, Mapping, Sequence
Expand All @@ -25,8 +25,8 @@
Matrix = Union[pd.DataFrame, np.ndarray, sps.csr_matrix] # noqa
# TODO: Adapt this to narwhals backend.
# E.g. like so?
# Vector = Union[nw.IntoSeries, np.ndarray]
# Matrix = Union[nw.IntoFrame, np.ndarray, sps.csr_matrix]
# Vector = Union[nw.typing.IntoSeries, np.ndarray]
# Matrix = Union[nw.typing.IntoFrame, np.ndarray, sps.csr_matrix]


class _ScikitModel(Protocol):
Expand Down

0 comments on commit 3bd2ad6

Please sign in to comment.