Skip to content

Commit

Permalink
rename apply_to -> apply
Browse files Browse the repository at this point in the history
  • Loading branch information
se-jaeger committed Dec 5, 2024
1 parent 24ea0f0 commit b3280ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tab_err/_error_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b3280ad

Please sign in to comment.