From b3280ad9c141744805d32ee329abc601edb4537a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20J=C3=A4ger?= Date: Thu, 5 Dec 2024 08:50:14 +0100 Subject: [PATCH] rename apply_to -> apply --- tab_err/_error_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tab_err/_error_model.py b/tab_err/_error_model.py index 4035f4e..23e1ab6 100644 --- a/tab_err/_error_model.py +++ b/tab_err/_error_model.py @@ -26,7 +26,7 @@ class ErrorModel: error_type: ErrorType error_rate: float - def apply_to(self: ErrorModel, table: pd.DataFrame, column: str | int) -> tuple[pd.DataFrame, pd.DataFrame]: + def apply(self: ErrorModel, table: pd.DataFrame, column: str | int) -> tuple[pd.DataFrame, pd.DataFrame]: """Applies the defined ErrorModel to the given column of a pandas DataFrame. Args: