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 5b7ad19 commit fb13cecCopy full SHA for fb13cec
src/sasctl/pzmm/write_json_files.py
@@ -1046,9 +1046,13 @@ def apply_dataframe_to_json(
1046
for row_num in range(len(stat_df)):
1047
row_dict = stat_df.iloc[row_num].replace(float("nan"), None).to_dict()
1048
if is_lift:
1049
- json_dict[(row_num + partition + 1) + partition * len(stat_df)]["dataMap"].update(row_dict)
+ json_dict[(row_num + partition + 1) + partition * len(stat_df)][
1050
+ "dataMap"
1051
+ ].update(row_dict)
1052
else:
- 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
+ )
1056
return json_dict
1057
1058
# noinspection PyCallingNonCallable, PyNestedDecorators
0 commit comments