Skip to content

Commit fb13cec

Browse files
committed
Black reformatting
1 parent 5b7ad19 commit fb13cec

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/sasctl/pzmm/write_json_files.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,9 +1046,13 @@ def apply_dataframe_to_json(
10461046
for row_num in range(len(stat_df)):
10471047
row_dict = stat_df.iloc[row_num].replace(float("nan"), None).to_dict()
10481048
if is_lift:
1049-
json_dict[(row_num + partition + 1) + partition * len(stat_df)]["dataMap"].update(row_dict)
1049+
json_dict[(row_num + partition + 1) + partition * len(stat_df)][
1050+
"dataMap"
1051+
].update(row_dict)
10501052
else:
1051-
json_dict[row_num + (partition * len(stat_df))]["dataMap"].update(row_dict)
1053+
json_dict[row_num + (partition * len(stat_df))]["dataMap"].update(
1054+
row_dict
1055+
)
10521056
return json_dict
10531057

10541058
# noinspection PyCallingNonCallable, PyNestedDecorators

0 commit comments

Comments
 (0)