Skip to content

Commit 7cf44e0

Browse files
committed
black reformatting
1 parent e11c56d commit 7cf44e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sasctl/pzmm/write_score_code.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -767,9 +767,9 @@ def impute_missing_values(data):
767767
impute_values = \\\n + {"var1": 0, "var2": "", "var3": 125.3}
768768
"""
769769
self.score_code += (
770-
f"\n\n{'':4}# Specify downcasting behavior for pandas 2.x to avoid warnings\n" +
771-
f"{'':4}if int(pd.__version__.split('.')[0]) == 2:\n{'':8}pd.set_option('future.no_silent_downcasting', True)\n" +
772-
f"{'':4}return data.replace(r'^\\s*\\.$', np.nan, regex=True).fillna(impute_values).infer_objects()\n"
770+
f"\n\n{'':4}# Specify downcasting behavior for pandas 2.x to avoid warnings\n"
771+
+ f"{'':4}if int(pd.__version__.split('.')[0]) == 2:\n{'':8}pd.set_option('future.no_silent_downcasting', True)\n"
772+
+ f"{'':4}return data.replace(r'^\\s*\\.$', np.nan, regex=True).fillna(impute_values).infer_objects()\n"
773773
)
774774
"""
775775
# Specify downcasting behavior for pandas 2.x to avoid warnings

0 commit comments

Comments
 (0)