Skip to content

Commit 38c6f3a

Browse files
committed
show max 5 rows for sdg preview
1 parent 714a941 commit 38c6f3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/assets/synthetic-data.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def run():
616616
setResult(json.dumps(
617617
{'type': 'heading', 'data': 'Output file:'}
618618
))
619-
setResult(json.dumps({'type': 'table', 'data': synthetic_data.to_json(orient="records")}))
619+
setResult(json.dumps({'type': 'table', 'data': synthetic_data.head().to_json(orient="records")}))
620620
621621
np.random.seed(42)
622622
heatmap = np.random.rand(100, 10)

0 commit comments

Comments
 (0)