Added the code to handle the NaN and return null in the in-out report section by yatmesh
This commit is contained in:
@@ -219,6 +219,10 @@ async def in_out_report_generate(
|
|||||||
else:
|
else:
|
||||||
success = True
|
success = True
|
||||||
report_df = cosec.read_in_out_summary_xls(report_path)
|
report_df = cosec.read_in_out_summary_xls(report_path)
|
||||||
|
##############
|
||||||
|
#Added by Yatmesh on 22 nov 17:40
|
||||||
|
report_df = report_df.where(report_df.notna(),None)
|
||||||
|
###################################
|
||||||
report_data = report_df.to_dict(orient = "records")
|
report_data = report_df.to_dict(orient = "records")
|
||||||
|
|
||||||
# ┳┓
|
# ┳┓
|
||||||
|
|||||||
Reference in New Issue
Block a user