User bio
404 bio not found
Member since Dec 8, 2015
Posts:
Malte has not published any posts yet.
Replies:

Hi Ruslan,

something like

<table ifxpath="TotalSum!=&quot;&quot;" [...]

might do the trick.

Malte Schnack · Mar 6, 2024 go to post

Good idea. This might work:

ClassMethod HandleJSON()
{
	S Results= {
		"ClassA":{"ClassName":"ClassA","ACount":367191880,"BCount":367191880,"CurrentDiff":0,"PreviousDiff":0,"ReportDate":"2024-03-02 00:00:00"},
		"ClassB":{"ClassName":"ClassB","ACount":5352149227,"BCount":5352149227,"CurrentDiff":0,"PreviousDiff":0,"ReportDate":"2024-03-02 00:00:00"}
	}
	
	w..GetCsv(Results.%ToJSON())
}

ClassMethod GetCsv(json As%String) As%String [ Language = python ]
{
		
	import pandas
	
	df = pandas.read_json(json, orient="index")
	
	return df.to_csv(index=False)
}
Certifications & Credly badges:
Malte has no Certifications & Credly badges yet.
Followers:
Malte has no followers yet.
Following:
Malte has not followed anybody yet.