TransWikia.com

Dataset changes layout depending on value types

Mathematica Asked by Lou on December 28, 2020

I’ve been looking to using datasets for the sometimes nice layout and scrolling possibilities.
However I’ve been trying to find a way to "force" the layout when using nested tables.
I can’t find any and it also seems to depend on the type of the values.
Are there any ways described to force a layout?

As a simple example.

planets = ExampleData[{"Dataset", "Planets"}]

enter image description here

ReplacePart[planets, {{"Earth", "Moons", "Moon", "Mass"} ->2, {"Earth", "Moons", "Moon", "Radius"} ->2}]

enter image description here

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP