We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4704d19 commit 42361f2Copy full SHA for 42361f2
causal_testing/estimation/ipcw_estimator.py
@@ -22,6 +22,7 @@ class IPCWEstimator(Estimator):
22
"""
23
24
# pylint: disable=too-many-arguments
25
+ # pylint: disable=too-many-local-variables
26
# pylint: disable=too-many-instance-attributes
27
def __init__(
28
self,
@@ -339,7 +340,7 @@ def estimate_hazard_ratio(self):
339
340
axis=1,
341
).min(axis=1)
342
- assert (preprocessed_data["tin"] <= preprocessed_data["tout"]).all(), f"Individuals left before joining."
343
+ assert (preprocessed_data["tin"] <= preprocessed_data["tout"]).all(), "Individuals left before joining."
344
345
preprocessed_data.to_csv("/home/michael/tmp/preprocessed_data.csv")
346
0 commit comments